OLD | NEW |
| 1 Tests how let and const interact with command line api |
1 first "let a = 1;" result: wasThrown = false | 2 first "let a = 1;" result: wasThrown = false |
2 second "let a = 1;" result: wasThrown = true | 3 second "let a = 1;" result: wasThrown = true |
3 exception message: Uncaught SyntaxError: Identifier 'a' has already been declare
d | 4 exception message: Uncaught SyntaxError: Identifier 'a' has already been declare
d |
4 at <anonymous>:1:1 | 5 at <anonymous>:1:1 |
5 {"result":{"type":"number","value":42,"description":"42"}} | 6 {"result":{"type":"number","value":42,"description":"42"}} |
6 function dir(value) { [Command Line API] } | 7 function dir(value) { [Command Line API] } |
7 function dirxml(value) { [Command Line API] } | 8 function dirxml(value) { [Command Line API] } |
8 function keys(object) { [Command Line API] } | 9 function keys(object) { [Command Line API] } |
9 function values(object) { [Command Line API] } | 10 function values(object) { [Command Line API] } |
10 function profile(title) { [Command Line API] } | 11 function profile(title) { [Command Line API] } |
11 function profileEnd(title) { [Command Line API] } | 12 function profileEnd(title) { [Command Line API] } |
12 function inspect(object) { [Command Line API] } | 13 function inspect(object) { [Command Line API] } |
13 function copy(value) { [Command Line API] } | 14 function copy(value) { [Command Line API] } |
14 function clear() { [Command Line API] } | 15 function clear() { [Command Line API] } |
15 function debug(function) { [Command Line API] } | 16 function debug(function) { [Command Line API] } |
16 function undebug(function) { [Command Line API] } | 17 function undebug(function) { [Command Line API] } |
17 function monitor(function) { [Command Line API] } | 18 function monitor(function) { [Command Line API] } |
18 function unmonitor(function) { [Command Line API] } | 19 function unmonitor(function) { [Command Line API] } |
19 function table(data, [columns]) { [Command Line API] } | 20 function table(data, [columns]) { [Command Line API] } |
OLD | NEW |