doc: avoid proposal syntax in code example

PR-URL: https://github.com/nodejs/node/pull/30685
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
This commit is contained in:
Alex Zherdev authored and Anna Henningsen committed 2019-11-30 03:58:27 +01:00
1 parent 1e7c567734
commit 20dbce17d5
1 file changed
+4 -1
+4 -1
View File
@@ -654,7 +654,10 @@ CommonJS and ES module instances of the package:
```js
// ./node_modules/pkg/index.mjs
export state from './state.cjs';
import state from './state.cjs';
export {
state
};
```
Even if `pkg` is used via both `require` and `import` in an application (for