Hello World in 1 line of pure Javascript Posted by abcom on Wednesday November 20, 2013 @12:49AM from the self-post dept. document.write("Hello World!"); ( 8 comments | 27 points | on HN )
console.log("Hello World!");
As it requires console object. So we are left only with
throw "Hello World"
[1] http://eleks.github.io/js2js/