3 ms·
Which one of these would be cheating? [...{[Symbol.iterator](){return {next(){ return {done:console.log(1)}}}}}]; JSON.parse("[]",()=>console.log(1))
by 19eightyfour 9y ago
Which one of these would be cheating?
[...{[Symbol.iterator](){return {next(){ return {done:console.log(1)}}}}}];
JSON.parse("[]",()=>console.log(1))
- sillysaurus3 9y agoThat first example is pretty amusing.
- 19eightyfour 9y agoYeah i got a chuckle out of it when i crashed my console session.
- yladiz 9y agoFunny enough, if you take the first and put it into babeljs.io, it will cause it to crash the tab.
- 19eightyfour 9y ago"Owned." Heh.