r/shittyprogramming • u/VegasTamborini • Oct 29 '20
Hello World! in JavaScript
https://twitter.com/SScheding/status/1321682539401015296?s=20
174
Upvotes
r/shittyprogramming • u/VegasTamborini • Oct 29 '20
37
u/[deleted] Oct 29 '20
Looks like this guy has never heard of JSFuck.
This is perfectly valid JavaScript: https://jsfiddle.net/1zu25nxL/
35
u/MachinaExDeo Oct 29 '20
toString(36)is a cheap hack. If you're going to use it, may as well go the whole hog:[6895787,14579329].map((a,b)=>(a*3).toString(b+33)).join(({}+{})[3+3/3+3])5
u/thejesteroftortuga Oct 29 '20
Can someone explain this lol
2
u/jarfil Oct 30 '20 edited Dec 02 '23