Re:Brain Bleeding JavaScript Obfuscation
by nitrogen on Monday April 13, 2015 @06:52PM
(#9371047)
Assuming the syntax is valid, tacking (console.log("foo")) on the end of lots of things should log foo, even if there's an error elsewhere. The "console.log('foo')" will be evaluated before trying to call the rest as a function, so even "undefined(console.log('foo'))" logs "foo" when tested in the Firefox JS console:
[ Parent
| on HN ]
There are no comments on this comment yet.