Tests that console properly displays information about ES6 features.
console-format-es6-2.js:17 MapIterator {41, {…}}
console-format-es6-2.js:18 [MapIterator]
globals[0]
MapIterator {41, {…}}
console-format-es6-2.js:17 MapIterator {42, {…}}
console-format-es6-2.js:18 [MapIterator]
globals[1]
MapIterator {42, {…}}
console-format-es6-2.js:17 MapIterator {41 => 42, {…} => {…}}
console-format-es6-2.js:18 [MapIterator]
globals[2]
MapIterator {41 => 42, {…} => {…}}
console-format-es6-2.js:17 SetIterator {41, {…}}
console-format-es6-2.js:18 [SetIterator]
globals[3]
SetIterator {41, {…}}
console-format-es6-2.js:17 SetIterator {41, {…}}
console-format-es6-2.js:18 [SetIterator]
globals[4]
SetIterator {41, {…}}
console-format-es6-2.js:17 SetIterator {41 => 41, {…} => {…}}
console-format-es6-2.js:18 [SetIterator]
globals[5]
SetIterator {41 => 41, {…} => {…}}
console-format-es6-2.js:17 MapIterator {{…}}
console-format-es6-2.js:18 [MapIterator]
globals[6]
MapIterator {{…}}
console-format-es6-2.js:17 SetIterator {{…}}
console-format-es6-2.js:18 [SetIterator]
globals[7]
SetIterator {{…}}
Expanded all messages
console-format-es6-2.js:17 MapIterator {41, {…}}
[[Entries]]
0: 41
1: Object
constructor: ƒ Iterator()
[[Prototype]]: Map Iterator
[[IteratorHasMore]]: true
[[IteratorIndex]]: 0
[[IteratorKind]]: "keys"
console-format-es6-2.js:18 [MapIterator]
0: MapIterator {41, {…}}
length: 1
[[Prototype]]: Array(0)
globals[0]
MapIterator {41, {…}}
[[Entries]]
0: 41
1: Object
constructor: ƒ Iterator()
[[Prototype]]: Map Iterator
[[IteratorHasMore]]: true
[[IteratorIndex]]: 0
[[IteratorKind]]: "keys"
console-format-es6-2.js:17 MapIterator {42, {…}}
[[Entries]]
0: 42
1: Object
constructor: ƒ Iterator()
[[Prototype]]: Map Iterator
[[IteratorHasMore]]: true
[[IteratorIndex]]: 0
[[IteratorKind]]: "values"
console-format-es6-2.js:18 [MapIterator]
0: MapIterator {42, {…}}
length: 1
[[Prototype]]: Array(0)
globals[1]
MapIterator {42, {…}}
[[Entries]]
0: 42
1: Object
constructor: ƒ Iterator()
[[Prototype]]: Map Iterator
[[IteratorHasMore]]: true
[[IteratorIndex]]: 0
[[IteratorKind]]: "values"
console-format-es6-2.js:17 MapIterator {41 => 42, {…} => {…}}
[[Entries]]
0: {41 => 42}
1: {Object => Object}
constructor: ƒ Iterator()
[[Prototype]]: Map Iterator
[[IteratorHasMore]]: true
[[IteratorIndex]]: 0
[[IteratorKind]]: "entries"
console-format-es6-2.js:18 [MapIterator]
0: MapIterator {41 => 42, {…} => {…}}
length: 1
[[Prototype]]: Array(0)
globals[2]
MapIterator {41 => 42, {…} => {…}}
[[Entries]]
0: {41 => 42}
1: {Object => Object}
constructor: ƒ Iterator()
[[Prototype]]: Map Iterator
[[IteratorHasMore]]: true
[[IteratorIndex]]: 0
[[IteratorKind]]: "entries"
console-format-es6-2.js:17 SetIterator {41, {…}}
[[Entries]]
0: 41
1: Object
constructor: ƒ Iterator()
[[Prototype]]: Set Iterator
[[IteratorHasMore]]: true
[[IteratorIndex]]: 0
[[IteratorKind]]: "values"
console-format-es6-2.js:18 [SetIterator]
0: SetIterator {41, {…}}
length: 1
[[Prototype]]: Array(0)
globals[3]
SetIterator {41, {…}}
[[Entries]]
0: 41
1: Object
constructor: ƒ Iterator()
[[Prototype]]: Set Iterator
[[IteratorHasMore]]: true
[[IteratorIndex]]: 0
[[IteratorKind]]: "values"
console-format-es6-2.js:17 SetIterator {41, {…}}
[[Entries]]
0: 41
1: Object
constructor: ƒ Iterator()
[[Prototype]]: Set Iterator
[[IteratorHasMore]]: true
[[IteratorIndex]]: 0
[[IteratorKind]]: "values"
console-format-es6-2.js:18 [SetIterator]
0: SetIterator {41, {…}}
length: 1
[[Prototype]]: Array(0)
globals[4]
SetIterator {41, {…}}
[[Entries]]
0: 41
1: Object
constructor: ƒ Iterator()
[[Prototype]]: Set Iterator
[[IteratorHasMore]]: true
[[IteratorIndex]]: 0
[[IteratorKind]]: "values"
console-format-es6-2.js:17 SetIterator {41 => 41, {…} => {…}}
[[Entries]]
0: {41 => 41}
1: {Object => Object}
constructor: ƒ Iterator()
[[Prototype]]: Set Iterator
[[IteratorHasMore]]: true
[[IteratorIndex]]: 0
[[IteratorKind]]: "entries"
console-format-es6-2.js:18 [SetIterator]
0: SetIterator {41 => 41, {…} => {…}}
length: 1
[[Prototype]]: Array(0)
globals[5]
SetIterator {41 => 41, {…} => {…}}
[[Entries]]
0: {41 => 41}
1: {Object => Object}
constructor: ƒ Iterator()
[[Prototype]]: Set Iterator
[[IteratorHasMore]]: true
[[IteratorIndex]]: 0
[[IteratorKind]]: "entries"
console-format-es6-2.js:17 MapIterator {{…}}
[[Entries]]
0: Object
constructor: ƒ Iterator()
[[Prototype]]: Map Iterator
[[IteratorHasMore]]: true
[[IteratorIndex]]: 1
[[IteratorKind]]: "values"
console-format-es6-2.js:18 [MapIterator]
0: MapIterator {{…}}
length: 1
[[Prototype]]: Array(0)
globals[6]
MapIterator {{…}}
[[Entries]]
0: Object
constructor: ƒ Iterator()
[[Prototype]]: Map Iterator
[[IteratorHasMore]]: true
[[IteratorIndex]]: 1
[[IteratorKind]]: "values"
console-format-es6-2.js:17 SetIterator {{…}}
[[Entries]]
0: Object
constructor: ƒ Iterator()
[[Prototype]]: Set Iterator
[[IteratorHasMore]]: true
[[IteratorIndex]]: 1
[[IteratorKind]]: "values"
console-format-es6-2.js:18 [SetIterator]
0: SetIterator {{…}}
length: 1
[[Prototype]]: Array(0)
globals[7]
SetIterator {{…}}
[[Entries]]
0: Object
constructor: ƒ Iterator()
[[Prototype]]: Set Iterator
[[IteratorHasMore]]: true
[[IteratorIndex]]: 1
[[IteratorKind]]: "values"