Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
lib: save a copy of Symbol in primordials
  • Loading branch information
joyeecheung committed Feb 10, 2019
commit 2b70a034c69cbb617ed7b481fd6863788c08e788
3 changes: 2 additions & 1 deletion lib/internal/bootstrap/primordials.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ primordials.SafePromise = makeSafe(
'Function',
'Object',
'RegExp',
'String'
'String',
'Symbol',
].forEach((name) => {
const target = primordials[name] = Object.create(null);
copyProps(global[name], target);
Expand Down