Introducing 140 char (or less) JavaScript programs
Today I got tired of seeing yet another onclick=”myjavascriptsucks()” in HTML so I wrote a little program in protest. What I wanted to do though was to post the program to Twitter which has a 140 character limit so it was mildly challenging. Here it is:
Fully expanded:
var elems = document.getElementsByTagName(”*”);
for (var i = 0; elems[i]; [...]
