WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 27187b2

Browse files
devsnekrwaldron
authored andcommitted
Update engine262.js
1 parent 88dbf67 commit 27187b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

runtimes/engine262.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
realm.evalScript($262.source);
99

1010
for (const glob in options.globals) {
11-
realm.$262.global[glob] = options.globals[glob];
11+
realm.global[glob] = options.globals[glob];
1212
}
1313
if (options.destroy) {
14-
realm.$262.destroy = options.destroy;
14+
realm.destroy = options.destroy;
1515
}
1616

1717
return realm;

0 commit comments

Comments
 (0)