You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
/* Javascript eval */
|
|
|
|
// 42-tiny-js change begin --->
|
|
// in JavaScript eval is not JSON.parse
|
|
// use parentheses or JSON.parse instead
|
|
//myfoo = eval("{ foo: 42 }");
|
|
myfoo = eval("("+"{ foo: 42 }"+")");
|
|
//<--- 42-tiny-js change end
|
|
|
|
result = eval("4*10+2")==42 && myfoo.foo==42;
|