| OLD | NEW |
| 1 CONSOLE MESSAGE: line 15: [object Object] | 1 CONSOLE MESSAGE: line 15: [object Object] |
| 2 CONSOLE MESSAGE: line 18: Symbol() | 2 CONSOLE MESSAGE: line 18: Symbol() |
| 3 CONSOLE MESSAGE: line 22: [object Map] | 3 CONSOLE MESSAGE: line 22: [object Map] |
| 4 CONSOLE MESSAGE: line 22: [object WeakMap] | 4 CONSOLE MESSAGE: line 22: [object WeakMap] |
| 5 CONSOLE MESSAGE: line 26: [object Set] | 5 CONSOLE MESSAGE: line 26: [object Set] |
| 6 CONSOLE MESSAGE: line 26: [object WeakSet] | 6 CONSOLE MESSAGE: line 26: [object WeakSet] |
| 7 CONSOLE MESSAGE: line 34: [object Set] | 7 CONSOLE MESSAGE: line 34: [object Set] |
| 8 CONSOLE MESSAGE: line 37: [object WeakMap] | 8 CONSOLE MESSAGE: line 37: [object WeakMap] |
| 9 CONSOLE MESSAGE: line 45: [object Map Iterator] | 9 CONSOLE MESSAGE: line 45: [object Map Iterator] |
| 10 CONSOLE MESSAGE: line 46: [object Map Iterator] | 10 CONSOLE MESSAGE: line 46: [object Map Iterator] |
| 11 CONSOLE MESSAGE: line 47: [object Map Iterator] | 11 CONSOLE MESSAGE: line 47: [object Map Iterator] |
| 12 CONSOLE MESSAGE: line 45: [object Set Iterator] | 12 CONSOLE MESSAGE: line 45: [object Set Iterator] |
| 13 CONSOLE MESSAGE: line 46: [object Set Iterator] | 13 CONSOLE MESSAGE: line 46: [object Set Iterator] |
| 14 CONSOLE MESSAGE: line 47: [object Set Iterator] | 14 CONSOLE MESSAGE: line 47: [object Set Iterator] |
| 15 CONSOLE MESSAGE: line 85: class{method(){ return 1 }},class classWithWhit
espace { method(){ return 1 } },class FooClass { | 15 CONSOLE MESSAGE: line 85: class{method(){ return 1 }},class classWithWhit
espace { method(){ return 1 } },class FooClass { |
| 16 jump(x) { return 1 } | 16 jump(x) { return 1 } |
| 17 badArrow(x = a => 2) { return "loooooooooooooooooooooooooooooooooooooooo
ooooooooooooong" } | 17 badArrow(x = a => 2) { return "loooooooooooooooooooooooooooooooooooooooo
ooooooooooooong" } |
| 18 },jump(x) { return 1 },class BarClass extends FooClass{},class BarClass2 ext
ends class base{} {},class BarClass3 extends function base2(a, b) {} {},_ => { r
eturn 1 },(x) => { return 1 },(x, y, z) => { return 1 },({}) => { return 1 },([]
) => { return 1 },() => { return "short" },() => { return "loooooooooooooooooooo
ooooooooooooooooooooooooooooooooong" },(...x) => { return 1 },(x, y, ...z) => {
return 1 },function (...x) { return 1 },function (x, y, ...z) { return 1 },funct
ion ({a}){ return 1 },function ([a]){ return 1 },function ({a, b}){ return 1 },f
unction (...{a}){ return 1 },function (a = (1), b){ return 1 },function (a = {x:
(1)}, b){ return 1 },function (a = (x) => { return 1 }, b){ return 2 },function
({a: b}){ return 1 },function (c = ")", {a: b}){ return 1 } | 18 },jump(x) { return 1 },class BarClass extends FooClass{},class BarClass2 ext
ends class base{} {},class BarClass3 extends function base2(a, b) {} {},_ => { r
eturn 1 },(x) => { return 1 },(x, y, z) => { return 1 },({}) => { return 1 },([]
) => { return 1 },() => { return "short" },() => { return "loooooooooooooooooooo
ooooooooooooooooooooooooooooooooong" },(...x) => { return 1 },(x, y, ...z) => {
return 1 },function (...x) { return 1 },function (x, y, ...z) { return 1 },funct
ion ({a}){ return 1 },function ([a]){ return 1 },function ({a, b}){ return 1 },f
unction (...{a}){ return 1 },function (a = (1), b){ return 1 },function (a = {x:
(1)}, b){ return 1 },function (a = (x) => { return 1 }, b){ return 2 },function
({a: b}){ return 1 },function (c = ")", {a: b}){ return 1 } |
| 19 CONSOLE MESSAGE: line 93: badArrow(x = a => 2) { return "loooooooooooooooooooooo
ooooooooooooooooooooooooooooooong" },function (a = ") {", b){ return 1 },functio
n (a = function(){ return 1 }, b){ return 2 },function (a = class{ constructor()
{} }){ return 2 } | 19 CONSOLE MESSAGE: line 93: badArrow(x = a => 2) { return "loooooooooooooooooooooo
ooooooooooooooooooooooooooooooong" },function (a = ") {", b){ return 1 },functio
n (a = function(){ return 1 }, b){ return 2 },function (a = class{ constructor()
{} }){ return 2 } |
| 20 Tests that console logging dumps proper messages. | 20 Tests that console logging dumps proper messages. |
| 21 | 21 |
| 22 console-dir-es6.html:15 Object | 22 console-dir-es6.html:15 Object |
| 23 a: 1 | 23 a: 1 |
| 24 Symbol(): 2 | 24 Symbol(): 2 |
| 25 Symbol(Symbol.iterator): Symbol(foo) | 25 Symbol(Symbol.iterator): Symbol(foo) |
| 26 Symbol(a): 3 | 26 Symbol(a): 3 |
| 27 Symbol(a): Symbol(Symbol.iterator) | 27 Symbol(a): Symbol(Symbol.iterator) |
| 28 __proto__: Object | 28 __proto__: Object |
| 29 console-dir-es6.html:18 Symbol() | 29 console-dir-es6.html:18 Symbol() |
| 30 console-dir-es6.html:22 Map | 30 console-dir-es6.html:22 Map(1) |
| 31 size: (...) | 31 size: (...) |
| 32 __proto__: Map | 32 __proto__: Map |
| 33 [[Entries]]: Array[1] | 33 [[Entries]]: Array(1) |
| 34 0: {Object => Object} | 34 0: {Object => Object} |
| 35 length: 1 | 35 length: 1 |
| 36 console-dir-es6.html:22 WeakMap | 36 console-dir-es6.html:22 WeakMap |
| 37 __proto__: WeakMap | 37 __proto__: WeakMap |
| 38 [[Entries]]: Array[1] | 38 [[Entries]]: Array(1) |
| 39 0: {Object => Object} | 39 0: {Object => Object} |
| 40 length: 1 | 40 length: 1 |
| 41 console-dir-es6.html:26 Set | 41 console-dir-es6.html:26 Set(1) |
| 42 size: (...) | 42 size: (...) |
| 43 __proto__: Set | 43 __proto__: Set |
| 44 [[Entries]]: Array[1] | 44 [[Entries]]: Array(1) |
| 45 0: Object | 45 0: Object |
| 46 length: 1 | 46 length: 1 |
| 47 console-dir-es6.html:26 WeakSet | 47 console-dir-es6.html:26 WeakSet |
| 48 __proto__: WeakSet | 48 __proto__: WeakSet |
| 49 [[Entries]]: Array[1] | 49 [[Entries]]: Array(1) |
| 50 0: Object | 50 0: Object |
| 51 length: 1 | 51 length: 1 |
| 52 console-dir-es6.html:34 Set | 52 console-dir-es6.html:34 Set(1) |
| 53 size: (...) | 53 size: (...) |
| 54 __proto__: Set | 54 __proto__: Set |
| 55 [[Entries]]: Array[1] | 55 [[Entries]]: Array(1) |
| 56 0: Set | 56 0: Set(1) |
| 57 length: 1 | 57 length: 1 |
| 58 console-dir-es6.html:37 WeakMap | 58 console-dir-es6.html:37 WeakMap |
| 59 __proto__: WeakMap | 59 __proto__: WeakMap |
| 60 [[Entries]]: Array[0] | 60 [[Entries]]: Array(0) |
| 61 length: 0 | 61 length: 0 |
| 62 console-dir-es6.html:45 MapIterator | 62 console-dir-es6.html:45 MapIterator |
| 63 __proto__: Map Iterator | 63 __proto__: Map Iterator |
| 64 [[IteratorHasMore]]: true | 64 [[IteratorHasMore]]: true |
| 65 [[IteratorIndex]]: 0 | 65 [[IteratorIndex]]: 0 |
| 66 [[IteratorKind]]: "keys" | 66 [[IteratorKind]]: "keys" |
| 67 [[Entries]]: Array[1] | 67 [[Entries]]: Array(1) |
| 68 0: Object | 68 0: Object |
| 69 length: 1 | 69 length: 1 |
| 70 console-dir-es6.html:46 MapIterator | 70 console-dir-es6.html:46 MapIterator |
| 71 __proto__: Map Iterator | 71 __proto__: Map Iterator |
| 72 [[IteratorHasMore]]: true | 72 [[IteratorHasMore]]: true |
| 73 [[IteratorIndex]]: 0 | 73 [[IteratorIndex]]: 0 |
| 74 [[IteratorKind]]: "values" | 74 [[IteratorKind]]: "values" |
| 75 [[Entries]]: Array[1] | 75 [[Entries]]: Array(1) |
| 76 0: Object | 76 0: Object |
| 77 length: 1 | 77 length: 1 |
| 78 console-dir-es6.html:47 MapIterator | 78 console-dir-es6.html:47 MapIterator |
| 79 __proto__: Map Iterator | 79 __proto__: Map Iterator |
| 80 [[IteratorHasMore]]: true | 80 [[IteratorHasMore]]: true |
| 81 [[IteratorIndex]]: 0 | 81 [[IteratorIndex]]: 0 |
| 82 [[IteratorKind]]: "entries" | 82 [[IteratorKind]]: "entries" |
| 83 [[Entries]]: Array[1] | 83 [[Entries]]: Array(1) |
| 84 0: Array[2] | 84 0: Array(2) |
| 85 length: 1 | 85 length: 1 |
| 86 console-dir-es6.html:45 SetIterator | 86 console-dir-es6.html:45 SetIterator |
| 87 __proto__: Set Iterator | 87 __proto__: Set Iterator |
| 88 [[IteratorHasMore]]: true | 88 [[IteratorHasMore]]: true |
| 89 [[IteratorIndex]]: 0 | 89 [[IteratorIndex]]: 0 |
| 90 [[IteratorKind]]: "values" | 90 [[IteratorKind]]: "values" |
| 91 [[Entries]]: Array[1] | 91 [[Entries]]: Array(1) |
| 92 0: Object | 92 0: Object |
| 93 length: 1 | 93 length: 1 |
| 94 console-dir-es6.html:46 SetIterator | 94 console-dir-es6.html:46 SetIterator |
| 95 __proto__: Set Iterator | 95 __proto__: Set Iterator |
| 96 [[IteratorHasMore]]: true | 96 [[IteratorHasMore]]: true |
| 97 [[IteratorIndex]]: 0 | 97 [[IteratorIndex]]: 0 |
| 98 [[IteratorKind]]: "values" | 98 [[IteratorKind]]: "values" |
| 99 [[Entries]]: Array[1] | 99 [[Entries]]: Array(1) |
| 100 0: Object | 100 0: Object |
| 101 length: 1 | 101 length: 1 |
| 102 console-dir-es6.html:47 SetIterator | 102 console-dir-es6.html:47 SetIterator |
| 103 __proto__: Set Iterator | 103 __proto__: Set Iterator |
| 104 [[IteratorHasMore]]: true | 104 [[IteratorHasMore]]: true |
| 105 [[IteratorIndex]]: 0 | 105 [[IteratorIndex]]: 0 |
| 106 [[IteratorKind]]: "entries" | 106 [[IteratorKind]]: "entries" |
| 107 [[Entries]]: Array[1] | 107 [[Entries]]: Array(1) |
| 108 0: Array[2] | 108 0: Array(2) |
| 109 length: 1 | 109 length: 1 |
| 110 console-dir-es6.html:85 Array[27] | 110 console-dir-es6.html:85 Array(27) |
| 111 0: class | 111 0: class |
| 112 1: class classWithWhitespace | 112 1: class classWithWhitespace |
| 113 2: class FooClass | 113 2: class FooClass |
| 114 3: function jump(x) | 114 3: function jump(x) |
| 115 4: class BarClass | 115 4: class BarClass |
| 116 5: class BarClass2 | 116 5: class BarClass2 |
| 117 6: class BarClass3 | 117 6: class BarClass3 |
| 118 7: _ => { return 1 } | 118 7: _ => { return 1 } |
| 119 8: (x) => { return 1 } | 119 8: (x) => { return 1 } |
| 120 9: (x, y, z) => { return 1 } | 120 9: (x, y, z) => { return 1 } |
| 121 10: ({}) => { return 1 } | 121 10: ({}) => { return 1 } |
| 122 11: ([]) => { return 1 } | 122 11: ([]) => { return 1 } |
| 123 12: () => { return "short" } | 123 12: () => { return "short" } |
| 124 13: () => {…} | 124 13: () => {…} |
| 125 14: (...x) => { return 1 } | 125 14: (...x) => { return 1 } |
| 126 15: (x, y, ...z) => { return 1 } | 126 15: (x, y, ...z) => { return 1 } |
| 127 16: function (...x) | 127 16: function (...x) |
| 128 17: function (x, y, ...z) | 128 17: function (x, y, ...z) |
| 129 18: function ({a}) | 129 18: function ({a}) |
| 130 19: function ([a]) | 130 19: function ([a]) |
| 131 20: function ({a, b}) | 131 20: function ({a, b}) |
| 132 21: function (...{a}) | 132 21: function (...{a}) |
| 133 22: function (a = (1), b) | 133 22: function (a = (1), b) |
| 134 23: function (a = {x: (1)}, b) | 134 23: function (a = {x: (1)}, b) |
| 135 24: function (a = (x) => { return 1 }, b) | 135 24: function (a = (x) => { return 1 }, b) |
| 136 25: function ({a: b}) | 136 25: function ({a: b}) |
| 137 26: function (c = ")", {a: b}) | 137 26: function (c = ")", {a: b}) |
| 138 length: 27 | 138 length: 27 |
| 139 __proto__: Array[0] | 139 __proto__: Array(0) |
| 140 console-dir-es6.html:93 Array[4] | 140 console-dir-es6.html:93 Array(4) |
| 141 0: badArrow(x = a => {…} | 141 0: badArrow(x = a => {…} |
| 142 1: function (a = ") | 142 1: function (a = ") |
| 143 2: function (a = function() | 143 2: function (a = function() |
| 144 3: function (a = class{ constructor() | 144 3: function (a = class{ constructor() |
| 145 length: 4 | 145 length: 4 |
| 146 __proto__: Array[0] | 146 __proto__: Array(0) |
| 147 | 147 |
| OLD | NEW |