A little JS competition (takes you 30 seconds)
▼2 up and 0 down, posted by
2 up and 0 down, posted by
There is a tool, which simplifies JS code: https://prepack.io/repl.html You have to write a program, that prints the current timestamp: Date.now(), and is located in an anonymous function, i.e. between "(function(){" and "})()". But it should not contain "Date.now()" in a simplified version. My first attempt: (function(){ console.log(window["Da"+"te"]["no"+"ow".charAt(1)]()); })(); ... but the right side does contains Date.now(). Can you "outsmart" that tool?