Ccna final exam - java, php, javascript, ios, cshap all in one. This is a collaboratively edited question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
Monday, April 23, 2012
()[]+! in javascript
How is it possible to only use ()[]+! to make javascript code?
In short, various constructs yield NaN/undefined/window/etc. Stringify and index them to yield any string. Extract a property and call it to execute code.
See Java/script: no alnum cheat sheets.
ReplyDeleteIn short, various constructs yield NaN/undefined/window/etc. Stringify and index them to yield any string. Extract a property and call it to execute code.