Skip to content

Commit d5f4a1f

Browse files
joyeecheungaddaleax
authored andcommitted
lib: save a copy of Symbol in primordials
PR-URL: #26033 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 85bc64a commit d5f4a1f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/internal/bootstrap/primordials.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ primordials.SafePromise = makeSafe(
7272
'Function',
7373
'Object',
7474
'RegExp',
75-
'String'
75+
'String',
76+
'Symbol',
7677
].forEach((name) => {
7778
const target = primordials[name] = Object.create(null);
7879
copyProps(global[name], target);

0 commit comments

Comments
 (0)