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 and juanarbol committed May 31, 2022
1 parent 444754b commit 7c700eb
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 @@ -196,7 +196,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 7c700eb

Please sign in to comment.