diff options
author | Kenta Moriuchi <moriken@kimamass.com> | 2023-04-26 07:36:22 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-26 00:36:22 +0200 |
commit | 9b49de46446f3acb3081bfa809652a8a66d54bfb (patch) | |
tree | d8ab2b27927928230d8a7d6ca9b06e6a16c2d068 /ext/console/02_console.js | |
parent | 97820fe8abb15baabaf6b6eed632514867c7d97d (diff) |
fix(core): Wrap safe collections' argument of primordials (#18750)
Diffstat (limited to 'ext/console/02_console.js')
-rw-r--r-- | ext/console/02_console.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/console/02_console.js b/ext/console/02_console.js index 3e55efb74..5873a2ec2 100644 --- a/ext/console/02_console.js +++ b/ext/console/02_console.js @@ -56,7 +56,7 @@ const { SafeArrayIterator, SafeMap, SafeStringIterator, - SafeSet, + SafeSetIterator, SafeRegExp, SetPrototype, SetPrototypeEntries, @@ -2158,7 +2158,7 @@ class Console { const indexKey = isSet || isMap ? "(iter idx)" : "(idx)"; if (isSet) { - resultData = [...new SafeSet(data)]; + resultData = [...new SafeSetIterator(data)]; } else if (isMap) { let idx = 0; resultData = {}; |