Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
XadillaX committed Apr 28, 2023
1 parent 600c37e commit 89af01f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/vm.js
Original file line number Diff line number Diff line change
Expand Up @@ -238,9 +238,9 @@ function createContext(contextObject = {}, options = kEmptyObject) {
validateOneOf(microtaskMode,
'options.microtaskMode',
['afterEvaluate', undefined]);
let microtaskQueue = microtaskMode === 'afterEvaluate' ?
new MicrotaskQueue() :
null;
const microtaskQueue = microtaskMode === 'afterEvaluate' ?
new MicrotaskQueue() :
null;

makeContext(contextObject, name, origin, strings, wasm, microtaskQueue);
return contextObject;
Expand Down

0 comments on commit 89af01f

Please sign in to comment.