blob: e29d4bf7d80e277fbe5ef3ee5998bf04098486bc (
plain)
1
2
3
4
5
6
7
8
9
|
function tryItOut(code) {
f = eval("(function(){" + code + "})")
try {
f()
} catch (e) {}
}
tryItOut("x=7");
tryItOut("\"use strict\";for(d in[x=arguments]){}");
tryItOut("for(v in((Object.seal)(x)));x.length=Function")
|