2 ms·
The problem is that you need to sandbox prototypes et al https://en.wikipedia.org/wiki/JSFuck https://en.wikipedia.org/wiki/JSFuck https://stackoverflow.com/qu
by __s 8y ago
The problem is that you need to sandbox prototypes et al
https://en.wikipedia.org/wiki/JSFuck https://en.wikipedia.org/wiki/JSFuck
https://stackoverflow.com/questions/2669690/why-does-google-prepend-while1-to-their-json-responses https://stackoverflow.com/questions/2669690/why-does-google-...
- cormacrelf 8y agoI can't believe nobody else pointed out JSFuck. Try the converter at http://www.jsfuck.com/ http://www.jsfuck.com/ -- or browse the esolang entry: https://esolangs.org/wiki/JSFuck https://esolangs.org/wiki/JSFuck Spoiler: it can do everything normal JS can. Just because it uses 20,000 characters to do a simple if statement doesn't mean your eval is 'safe'.