From bf796533f54d4bed623a967c3ebc552f9932f32d Mon Sep 17 00:00:00 2001 From: Franziska Hinkelmann Date: Mon, 29 Jan 2024 19:51:00 -0500 Subject: [PATCH] fix JS lint errors --- .../parallel/test-vm-global-configurable-properties.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/parallel/test-vm-global-configurable-properties.js b/test/parallel/test-vm-global-configurable-properties.js index 921baf2f7ed41c..4428e747eae36d 100644 --- a/test/parallel/test-vm-global-configurable-properties.js +++ b/test/parallel/test-vm-global-configurable-properties.js @@ -7,9 +7,9 @@ const vm = require('vm'); const ctx = vm.createContext(); -let window = vm.runInContext("this", ctx); +const window = vm.runInContext('this', ctx); -Object.defineProperty(window, "x", { value: "1", configurable: true}); -assert.strictEqual(window.x, "1"); -Object.defineProperty(window, "x", { value: "2", configurable: true }); -assert.strictEqual(window.x, "2"); \ No newline at end of file +Object.defineProperty(window, 'x', { value: '1', configurable: true }); +assert.strictEqual(window.x, '1'); +Object.defineProperty(window, 'x', { value: '2', configurable: true }); +assert.strictEqual(window.x, '2');