| OLD | NEW |
| 1 first "let a = 1;" result: wasThrown = false | 1 first "let a = 1;" result: wasThrown = false |
| 2 second "let a = 1;" result: wasThrown = true | 2 second "let a = 1;" result: wasThrown = true |
| 3 exception message: Uncaught TypeError: Identifier 'a' has already been declared | 3 exception message: Uncaught SyntaxError: Identifier 'a' has already been declare
d |
| 4 {"result":{"type":"number","value":42,"description":"42"},"wasThrown":false} | 4 {"result":{"type":"number","value":42,"description":"42"},"wasThrown":false} |
| 5 function $(selector, [startNode]) { [Command Line API] } | 5 function $(selector, [startNode]) { [Command Line API] } |
| 6 function $$(selector, [startNode]) { [Command Line API] } | 6 function $$(selector, [startNode]) { [Command Line API] } |
| 7 function $x(xpath, [startNode]) { [Command Line API] } | 7 function $x(xpath, [startNode]) { [Command Line API] } |
| 8 function dir(value) { [Command Line API] } | 8 function dir(value) { [Command Line API] } |
| 9 function dirxml(value) { [Command Line API] } | 9 function dirxml(value) { [Command Line API] } |
| 10 function keys(object) { [Command Line API] } | 10 function keys(object) { [Command Line API] } |
| 11 function values(object) { [Command Line API] } | 11 function values(object) { [Command Line API] } |
| 12 function profile(title) { [Command Line API] } | 12 function profile(title) { [Command Line API] } |
| 13 function profileEnd(title) { [Command Line API] } | 13 function profileEnd(title) { [Command Line API] } |
| 14 function monitorEvents(object, [types]) { [Command Line API] } | 14 function monitorEvents(object, [types]) { [Command Line API] } |
| 15 function unmonitorEvents(object, [types]) { [Command Line API] } | 15 function unmonitorEvents(object, [types]) { [Command Line API] } |
| 16 function inspect(object) { [Command Line API] } | 16 function inspect(object) { [Command Line API] } |
| 17 function copy(value) { [Command Line API] } | 17 function copy(value) { [Command Line API] } |
| 18 function clear() { [Command Line API] } | 18 function clear() { [Command Line API] } |
| 19 function getEventListeners(node) { [Command Line API] } | 19 function getEventListeners(node) { [Command Line API] } |
| 20 function debug(function) { [Command Line API] } | 20 function debug(function) { [Command Line API] } |
| 21 function undebug(function) { [Command Line API] } | 21 function undebug(function) { [Command Line API] } |
| 22 function monitor(function) { [Command Line API] } | 22 function monitor(function) { [Command Line API] } |
| 23 function unmonitor(function) { [Command Line API] } | 23 function unmonitor(function) { [Command Line API] } |
| 24 function table(data, [columns]) { [Command Line API] } | 24 function table(data, [columns]) { [Command Line API] } |
| 25 | 25 |
| OLD | NEW |