| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 1f3bc5e commit 34d1d79
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2011,6 +2011,11 @@ assert.strictEqual(util.inspect('"\'${a}'), "'\"\\'${a}'"); | |||
| 2011 | 2011 | rest[rest.length - 1] = rest[rest.length - 1].slice(0, -1); | |
| 2012 | 2012 | rest.length = 1; | |
| 2013 | 2013 | } | |
| 2014 | + Object.setPrototypeOf(clazz, Map.prototype); | ||
| 2015 | + assert.strictEqual( | ||
| 2016 | + util.inspect(clazz), | ||
| 2017 | + ['[class', name, '[Map]', ...rest].join(' ') + ']' | ||
| 2018 | + ); | ||
| 2014 | 2019 | Object.setPrototypeOf(clazz, null); | |
| 2015 | 2020 | assert.strictEqual( | |
| 2016 | 2021 | util.inspect(clazz), | |
| Back | FazBrowse Home | New Git URL |
0 commit comments