mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
doc: fix small logic error in DETECT_MODULE_SYNTAX
PR-URL: https://github.com/nodejs/node/pull/62025 Reviewed-By: Jacob Smith <jacob@frende.me> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Zijian Liu <lxxyxzj@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com>
This commit is contained in:
1 parent
4f780905c5
commit
f22ebdc809
1 file changed
+1
-1
+1
-1
@@ -1191,7 +1191,7 @@ _isImports_, _conditions_)
|
||||
> 2. If _source_ contains a top-level lexical declaration (`const`, `let`,
|
||||
> or `class`) of any of the CommonJS wrapper variables (`require`,
|
||||
> `exports`, `module`, `__filename`, or `__dirname`) then return **true**.
|
||||
> 3. Else return **false**.
|
||||
> 3. Return **false**.
|
||||
|
||||
### Customizing ESM specifier resolution algorithm
|
||||
|
||||
|
||||
Reference in new issue
Block a user