Skip to content

Commit

Permalink
doc: fix wrong output of example in util
Browse files Browse the repository at this point in the history
In `mime.type` of util, `application/javascript` is actual output,
but described as `application/javascript/javascript`.

PR-URL: #45825
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
deokjinkim authored and juanarbol committed Jan 22, 2023
1 parent b709af3 commit 67efe2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/util.md
Original file line number Diff line number Diff line change
Expand Up @@ -1103,7 +1103,7 @@ myMIME.type = 'application';
console.log(myMIME.type);
// Prints: application
console.log(String(myMIME));
// Prints: application/javascript/javascript
// Prints: application/javascript
```

#### `mime.subtype`
Expand Down

0 comments on commit 67efe2a

Please sign in to comment.