| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 73f3a1c commit e182ca9
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1662,7 +1662,10 @@ assert.strictEqual(util.inspect('"\'${a}'), "'\"\\'${a}'"); | |||
| 1662 | 1662 | ||
| 1663 | 1663 | // Verify that subclasses with and without prototype produce nice results. | |
| 1664 | 1664 | [ | |
| 1665 | - [RegExp, ['foobar', 'g'], '/foobar/g'] | ||
| 1665 | + [RegExp, ['foobar', 'g'], '/foobar/g'], | ||
| 1666 | + [WeakSet, [[{}]], '{ <items unknown> }'], | ||
| 1667 | + [WeakMap, [[[{}, {}]]], '{ <items unknown> }'], | ||
| 1668 | + [BigInt64Array, [10], '[ 0n, 0n, 0n, 0n, 0n, 0n, 0n, 0n, 0n, 0n ]'] | ||
| 1666 | 1669 | ].forEach(([base, input, rawExpected]) => { | |
| 1667 | 1670 | class Foo extends base {} | |
| 1668 | 1671 | const value = new Foo(...input); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments