| OLD | NEW |
| 1 Verifies JavaScript pretty-printing functionality. | 1 Verifies JavaScript pretty-printing functionality. |
| 2 | 2 |
| 3 | 3 |
| 4 Running: trailingCommentsTest | 4 Running: trailingCommentsTest |
| 5 ====== 8< ------ | 5 ====== 8< ------ |
| 6 noop(); | 6 noop(); |
| 7 //#sourceMappingURL=program.js.map | 7 //#sourceMappingURL=program.js.map |
| 8 | 8 |
| 9 ------ >8 ====== | 9 ------ >8 ====== |
| 10 | 10 |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 setTimeout(function() { | 73 setTimeout(function() { |
| 74 alert(1); | 74 alert(1); |
| 75 }, 2000); | 75 }, 2000); |
| 76 | 76 |
| 77 ------ >8 ====== | 77 ------ >8 ====== |
| 78 Correct mapping for <setTimeout> | 78 Correct mapping for <setTimeout> |
| 79 Correct mapping for <function> | 79 Correct mapping for <function> |
| 80 Correct mapping for <alert> | 80 Correct mapping for <alert> |
| 81 Correct mapping for <2000> | 81 Correct mapping for <2000> |
| 82 | 82 |
| 83 Running: arrowFunction |
| 84 ====== 8< ------ |
| 85 function test(arg) { |
| 86 console.log(arg); |
| 87 } |
| 88 test(a=>a + 2); |
| 89 |
| 90 ------ >8 ====== |
| 91 Correct mapping for <function> |
| 92 Correct mapping for <console> |
| 93 Correct mapping for <=>> |
| 94 Correct mapping for <2> |
| 95 |
| OLD | NEW |