We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0aa7ae commit 3ef0d95Copy full SHA for 3ef0d95
src/content/api/module-variables.md
@@ -83,8 +83,8 @@ exports.aFunction = function doSomething() {
83
84
取决于 `node.__dirname` 配置选项:
85
86
-- `false`: Not defined
87
-- `mock`: equal to `'/'`
+- `false`: 未定义
+- `mock`: 等同于 `'/'`
88
- `true`: [node.js __dirname](https://nodejs.org/api/globals.html#globals_dirname)
89
90
如果在一个被 Parser 解析的表达式内部使用,则配置选项会被当作 `true` 处理。
@@ -94,8 +94,8 @@ exports.aFunction = function doSomething() {
94
95
取决于 `node.__filename` 配置选项:
96
97
98
-- `mock`: equal to `'/index.js'`
+- `mock`: 等同于 `'/index.js'`
99
- `true`: [node.js __filename](https://nodejs.org/api/globals.html#globals_filename)
100
101
0 commit comments