node
node copied to clipboard
doc: fix misaligned options in vm.compileFunction()
Current alignment mislead doc reader into thinking
importModuleDynamically is a separate positional param right next to
options, which is incorrect and need to be fixed.
This misalignment is introduced in a PR merged in Feb 2024.
I belive this doc fix applies to node v20 and above.
Refs: https://github.com/nodejs/node/pull/51244