Skip to content

Commit aa0b91b

Browse files
committed
fix(object): object shorthand edge incompatibility
1 parent 74a1b04 commit aa0b91b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ function compileCode (src) {
3131
}
3232

3333
if (!sandboxProxies.has(sandbox)) {
34-
sandboxProxies.set(sandbox, new Proxy(sandbox, {has, get}))
34+
sandboxProxies.set(sandbox, new Proxy(sandbox, {has: has, get: get}))
3535
}
3636
currentAllowedGlobals = allowedGlobals
3737

0 commit comments

Comments
 (0)