codegolf / pac-man

Pac-Man in < 512 Bytes of HTML and JavaScript

Home Page:http://codegolf.github.io/pac-man/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

body onload

subzey opened this issue · comments

Looks like good old
<body onload='...'><pre id=p>
is one byte less than
<pre id=p><script>...</script>
and everything (apparently) works. Is there a reason why inline <script> is used?