OLD | NEW |
1 Tests that evaluating object literal in the console correctly reported. | 1 Tests that evaluating object literal in the console correctly reported. |
2 | 2 |
3 {a:1, b:2} | 3 {a:1, b:2} |
4 Object {a: 1, b: 2} | 4 Object {a: 1, b: 2} |
5 {a:1} | 5 {a:1} |
6 Object {a: 1} | 6 Object {a: 1} |
7 {var a = 1; eval("{a :1, b:2 }");} | 7 {var a = 1; eval("{a :1, b:2 }");} |
8 VM:2 Uncaught SyntaxError: Unexpected identifier(…) | 8 VM:1 Uncaught SyntaxError: Unexpected identifier(…) |
9 { for (var i = 0; i < 5; ++i); } | 9 { for (var i = 0; i < 5; ++i); } |
10 VM:2 Uncaught SyntaxError: Unexpected token var(…) | 10 VM:1 Uncaught SyntaxError: Unexpected token var(…) |
11 | 11 |
OLD | NEW |