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 Beth Griggs committed 2020-02-06 02:48:56 +00:00
1 parent 657a8af8a9
commit de3fdfaa6f
1 file changed
+4 -1
+4 -1
View File
@@ -667,7 +667,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