vm,lib: refactor microtaskQueue assignment logic · nodejs/node@e6685f9 · GitHub
Skip to content

Commit e6685f9

Browse files
XadillaXtargos
authored andcommitted
vm,lib: refactor microtaskQueue assignment logic
Simplify the assignment of the `microtaskQueue` variable in the `vm` module by replacing the conditional block with a more concise ternary operator. This change improves code readability and maintainability. PR-URL: #47765 Reviewed-By: theanarkh <theratliter@gmail.com> Reviewed-By: Mestery <mestery@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 7ecc674 commit e6685f9

1 file changed

Lines changed: 6 additions & 8 deletions

File tree

lib/vm.js

Lines changed: 6 additions & 8 deletions

0 commit comments

Comments
 (0)