Hello World in 1 line of pure Javascript
document.write("Hello World!");
8 comments
As was noticed on habrahabr it is not "pure" javascript as it requires document object. Neither is
console.log("Hello World!");
As it requires console object. So we are left only with
throw "Hello World"
console.log("Hello World!");
As it requires console object. So we are left only with
throw "Hello World"
"Show HN: 30 lines of pure JavaScript in 30 lines of pure JavaScript" :)
Would be great through js2js[1]
[1] http://eleks.github.io/js2js/
[1] http://eleks.github.io/js2js/
Mystical.
[deleted]
Smart. You realised the trend.
Genius :)