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.
10 lines
240 B
10 lines
240 B
![]()
13 years ago
|
/* Javascript eval */
|
||
|
|
||
|
// 42-tiny-js change begin --->
|
||
|
// in JavaScript eval is not a JSON-parser
|
||
|
//myfoo = eval("{ foo: 42 }");
|
||
|
myfoo = eval("tmp = { foo: 42 }");
|
||
|
//<--- 42-tiny-js change end
|
||
|
|
||
|
result = eval("4*10+2")==42 && myfoo.foo==42;
|