diff options
author | Tobias Nießen <tniessen@tnie.de> | 2022-04-09 14:41:30 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-09 14:41:30 +0300 |
commit | a113468383183b84d1a77dbc0625f7dfdcda631f (patch) | |
tree | 5445f79f01f2b441c2a9a6a2c4179db3e93224ea /doc/api/https.md | |
parent | 2d84620f867cfc18be1a50f4e5f076dd79ba22e4 (diff) |
doc: link to dynamic import function
PR-URL: https://github.com/nodejs/node/pull/42634
Reviewed-By: Paolo Insogna <paolo@cowtech.it>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com>
Diffstat (limited to 'doc/api/https.md')
-rw-r--r-- | doc/api/https.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/api/https.md b/doc/api/https.md index 3a28f3b0f00..d7d47cf07bc 100644 --- a/doc/api/https.md +++ b/doc/api/https.md @@ -35,7 +35,7 @@ a preload module). When using ESM, if there is a chance that the code may be run on a build of Node.js where crypto support is not enabled, consider using the -`import()` function instead of the lexical `import` keyword: +[`import()`][] function instead of the lexical `import` keyword: ```mjs let https; @@ -536,6 +536,7 @@ headers: max-age=0; pin-sha256="WoiWRyIOVNa9ihaBciRSC7XHjliYS9VwUGOIud4PB18="; p [`http.request()`]: http.md#httprequestoptions-callback [`https.Agent`]: #class-httpsagent [`https.request()`]: #httpsrequestoptions-callback +[`import()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import#dynamic_imports [`net.Server`]: net.md#class-netserver [`new URL()`]: url.md#new-urlinput-base [`server.listen()`]: net.md#serverlisten |