Question: what can 1 kb of javascript do?
Answer: Javascript is a language with quirks which results in many possibilites. ... 1kB gives the developer enough space to write a simple program but, to develop a complex application such as a chess engine, shown later, requires clever optimizations and making intelligent use of the language's behavior.