Skip to content

doc: fix misaligned options in vm.compileFunction() #58145

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions doc/api/vm.md
Original file line number Diff line number Diff line change
Expand Up @@ -1044,13 +1044,13 @@ changes:
* `contextExtensions` {Object\[]} An array containing a collection of context
extensions (objects wrapping the current scope) to be applied while
compiling. **Default:** `[]`.
* `importModuleDynamically`
{Function|vm.constants.USE\_MAIN\_CONTEXT\_DEFAULT\_LOADER}
Used to specify the how the modules should be loaded during the evaluation of
this function when `import()` is called. This option is part of the
experimental modules API. We do not recommend using it in a production
environment. For detailed information, see
[Support of dynamic `import()` in compilation APIs][].
* `importModuleDynamically`
{Function|vm.constants.USE\_MAIN\_CONTEXT\_DEFAULT\_LOADER}
Used to specify the how the modules should be loaded during the evaluation of
this function when `import()` is called. This option is part of the
experimental modules API. We do not recommend using it in a production
environment. For detailed information, see
[Support of dynamic `import()` in compilation APIs][].
* Returns: {Function}

Compiles the given code into the provided context (if no context is
Expand Down
Loading