node icon indicating copy to clipboard operation
node copied to clipboard

doc: fix misaligned options in vm.compileFunction()

Open hkleungai opened this issue 8 months ago • 0 comments

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

hkleungai avatar May 03 '25 18:05 hkleungai