Skip to content

Commit

Permalink
doc: fix ESM JSON/data URL import example
Browse files Browse the repository at this point in the history
PR-URL: #42728
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Beth Griggs <bgriggs@redhat.com>
  • Loading branch information
Trott committed Apr 14, 2022
1 parent e61b62b commit a058cef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/esm.md
Expand Up @@ -200,7 +200,7 @@ URLs being used is:

```js
import 'data:text/javascript,console.log("hello!");';
import _ from 'data:application/json,"world!"';
import _ from 'data:application/json,"world!"' assert { type: 'json' };
```

#### `node:` Imports
Expand Down

0 comments on commit a058cef

Please sign in to comment.