Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
lbatchelor
· 3y ago · 0 comments
Edit: I've actually managed to get the javascript down to a measly 859 bytes now. Pretty happy with some of the code golfing techniques I came up with
Comments
[–]
gabrielsroka
3y ago
You should be able to change
e.addEventListener("keyup"...
to
e.onkeyup=...
but I haven't tested it.
[–]
lbatchelor
OP
3y ago
Ooh! Don't know how I missed that, I'll give it a go! Cheers!