Skip to content

Commit

Permalink
Update engine262.js
Browse files Browse the repository at this point in the history
  • Loading branch information
devsnek authored and rwaldron committed Aug 27, 2020
1 parent 88dbf67 commit 27187b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtimes/engine262.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
realm.evalScript($262.source);

for (const glob in options.globals) {
realm.$262.global[glob] = options.globals[glob];
realm.global[glob] = options.globals[glob];
}
if (options.destroy) {
realm.$262.destroy = options.destroy;
realm.destroy = options.destroy;
}

return realm;
Expand Down

0 comments on commit 27187b2

Please sign in to comment.