-
Notifications
You must be signed in to change notification settings - Fork 6.6k
/
console-dir-es6-expected.txt
128 lines (126 loc) · 3.11 KB
/
console-dir-es6-expected.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
Tests that console logging dumps proper messages.
console-dir-es6.js:20 Object
a: 1
Symbol(): 2
Symbol(Symbol.iterator): Symbol(foo)
Symbol(a): 3
Symbol(a): Symbol(Symbol.iterator)
__proto__: Object
console-dir-es6.js:23 Symbol()
console-dir-es6.js:27 Map(1)
size: (...)
__proto__: Map
[[Entries]]: Array(1)
0: {Object => Object}
length: 1
console-dir-es6.js:27 WeakMap
__proto__: WeakMap
[[Entries]]: Array(1)
0: {Object => Object}
length: 1
console-dir-es6.js:31 Set(1)
size: (...)
__proto__: Set
[[Entries]]: Array(1)
0: Object
length: 1
console-dir-es6.js:31 WeakSet
__proto__: WeakSet
[[Entries]]: Array(1)
0: Object
length: 1
console-dir-es6.js:39 Set(1)
size: (...)
__proto__: Set
[[Entries]]: Array(1)
0: Set(1)
length: 1
console-dir-es6.js:42 WeakMap
__proto__: WeakMap
[[Entries]]: Array(0)
length: 0
console-dir-es6.js:50 MapIterator
__proto__: Map Iterator
[[IteratorHasMore]]: true
[[IteratorIndex]]: 0
[[IteratorKind]]: "keys"
[[Entries]]: Array(1)
0: Object
length: 1
console-dir-es6.js:51 MapIterator
__proto__: Map Iterator
[[IteratorHasMore]]: true
[[IteratorIndex]]: 0
[[IteratorKind]]: "values"
[[Entries]]: Array(1)
0: Object
length: 1
console-dir-es6.js:52 MapIterator
__proto__: Map Iterator
[[IteratorHasMore]]: true
[[IteratorIndex]]: 0
[[IteratorKind]]: "entries"
[[Entries]]: Array(1)
0: {Object => Object}
length: 1
console-dir-es6.js:50 SetIterator
__proto__: Set Iterator
[[IteratorHasMore]]: true
[[IteratorIndex]]: 0
[[IteratorKind]]: "values"
[[Entries]]: Array(1)
0: Object
length: 1
console-dir-es6.js:51 SetIterator
__proto__: Set Iterator
[[IteratorHasMore]]: true
[[IteratorIndex]]: 0
[[IteratorKind]]: "values"
[[Entries]]: Array(1)
0: Object
length: 1
console-dir-es6.js:52 SetIterator
__proto__: Set Iterator
[[IteratorHasMore]]: true
[[IteratorIndex]]: 0
[[IteratorKind]]: "entries"
[[Entries]]: Array(1)
0: Object
length: 1
console-dir-es6.js:90 Array(27)
0: class
1: class classWithWhitespace
2: class FooClass
3: ƒ jump(x)
4: class BarClass
5: class BarClass2
6: class BarClass3
7: _ => { return 1 }
8: (x) => { return 1 }
9: (x, y, z) => { return 1 }
10: ({}) => { return 1 }
11: ([]) => { return 1 }
12: () => { return "short" }
13: () => {…}
14: (...x) => { return 1 }
15: (x, y, ...z) => { return 1 }
16: ƒ (...x)
17: ƒ (x, y, ...z)
18: ƒ ({a})
19: ƒ ([a])
20: ƒ ({a, b})
21: ƒ (...{a})
22: ƒ (a = (1), b)
23: ƒ (a = {x: (1)}, b)
24: ƒ (a = (x) => { return 1 }, b)
25: ƒ ({a: b})
26: ƒ (c = ")", {a: b})
length: 27
__proto__: Array(0)
console-dir-es6.js:98 Array(4)
0: badArrow(x = a => {…}
1: ƒ (a = ")
2: ƒ (a = function()
3: ƒ (a = class{ constructor()
length: 4
__proto__: Array(0)