Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 Verify javascript outline | 1 Verify javascript outline |
| 2 | 2 |
| 3 | 3 |
| 4 Running: testAsyncFunction | 4 Running: testAsyncFunction |
|
dgozman
2017/03/24 01:00:00
Add testAsyncArrowFunction
lushnikov
2017/03/24 19:19:36
Done.
| |
| 5 Text: | 5 Text: |
| 6 async function foo() { } | 6 async function foo() { } |
| 7 Outline: | 7 Outline: |
| 8 foo():0:15 | 8 async foo():0:15 |
| 9 | 9 |
| 10 Running: testGeneratorFunction | 10 Running: testGeneratorFunction |
| 11 Text: | 11 Text: |
| 12 function* foo() { } | 12 function* foo() { } |
| 13 Outline: | 13 Outline: |
| 14 *foo():0:10 | |
| 14 | 15 |
| 15 Running: testMismatchBrackets | 16 Running: testMismatchBrackets |
| 16 Text: | 17 Text: |
| 17 | 18 |
| 18 function foo(a, b) { | 19 function foo(a, b) { |
| 19 if (a > b) { | 20 if (a > b) { |
| 20 return a; | 21 return a; |
| 21 } | 22 } |
| 22 | 23 |
| 23 function bar(eee) { | 24 function bar(eee) { |
| 24 foo(eee, 2 * eee); | 25 foo(eee, 2 * eee); |
| 25 } | 26 } |
| 26 | 27 |
| 27 Outline: | 28 Outline: |
| 28 foo(a, b):1:9 | 29 foo(a, b):1:9 |
| 29 bar(eee):6:9 | 30 bar(eee):6:9 |
| 30 | 31 |
| 31 Running: testSyntaxError | 32 Running: testSyntaxError |
| 32 Text: | 33 Text: |
| 33 | 34 |
| 34 function notAGenerator(a, b) { | 35 function notAGenerator(a, b) { |
| 35 yield 10; | 36 yield 10; |
| 36 } | 37 } |
| 37 Outline: | 38 Outline: |
| 38 notAGenerator(a, b):1:9 | 39 notAGenerator(a, b):1:9 |
| 39 | 40 |
| OLD | NEW |