This is not about writing the most readable or production-ready code. Its a fun test of versatility and language knowledge.
Answers should work on all major browsers except where denoted with “ECMA 5” (in which case they should work on all browsers except IE<9) . The number in parentheses indicates how many characters were in my solution, including semicolons but omitting returns and extra spaces.
I’ll post my solutions on Monday. Good luck! (Spoiler alert – some solutions in comments)