Skip to content

Commit

Permalink
fix JS lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
fhinkel committed Jan 30, 2024
1 parent 36a21ef commit bf79653
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/parallel/test-vm-global-configurable-properties.js
Original file line number Diff line number Diff line change
Expand Up @@ -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");
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');

0 comments on commit bf79653

Please sign in to comment.