Sandboxing and parsing jQuery in 100ms

gaz Heyes gazheyes at gmail.com
Thu Nov 8 02:05:24 PST 2012


For entertainment purposes I used MentalJS to parse itself. I found that I
had trailing commas in a couple of my object literals. Then I decided to
execute itself inside the sandbox:
eval("js=MentalJS();alert(js.parse('1+1'))");

I added an "inception" button to show how it does this. Parse time moves
slower inside dreams..I mean sandboxes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20121108/38524c93/attachment.html>


More information about the es-discuss mailing list