aboutsummaryrefslogtreecommitdiff
path: root/test/parallel/test-vm-proxies.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-vm-proxies.js')
-rw-r--r--test/parallel/test-vm-proxies.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-vm-proxies.js b/test/parallel/test-vm-proxies.js
index 6532345336..25e16e8f5c 100644
--- a/test/parallel/test-vm-proxies.js
+++ b/test/parallel/test-vm-proxies.js
@@ -6,7 +6,7 @@ const vm = require('vm');
// src/node_contextify.cc filters out the Proxy object from the parent
// context. Make sure that the new context has a Proxy object of its own.
-var sandbox = {};
+let sandbox = {};
vm.runInNewContext('this.Proxy = Proxy', sandbox);
assert.strictEqual(typeof sandbox.Proxy, 'function');
assert.notStrictEqual(sandbox.Proxy, Proxy);