document.write("Hello World!");
Hello World in 1 line of pure Javascript
1–10 of 10 posts
Re: Hello World in 1 line of pure Javascript
#2Mystical.
Re: Hello World in 1 line of pure Javascript
#3Do you think you could shorten this down to less than one line? One line seems wasteful.
Re: Hello World in 1 line of pure Javascript
#4As 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"
Re: Hello World in 1 line of pure Javascript
#5"Show HN: 30 lines of pure JavaScript in 30 lines of pure JavaScript" :)
Re: Hello World in 1 line of pure Javascript
#6Genius :)
Re: Hello World in 1 line of pure Javascript
#7[deleted]
Re: Hello World in 1 line of pure Javascript
#8Smart. You realised the trend.
Re: Hello World in 1 line of pure Javascript
#9Would be great through js2js[1]
Re: Hello World in 1 line of pure Javascript
#10Do you think you could shorten this down to less than one line? One line seems wasteful.
The other developers were actually able to do negative lines. Can you do this?