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 <[email protected]>
Reviewed-By: Beth Griggs <[email protected]>
  • Loading branch information
Trott authored 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
Original file line number Diff line number Diff line change
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.