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 targos committed Jan 1, 2023
1 parent faee973 commit 7e047df
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 @@ -1107,7 +1107,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 7e047df

Please sign in to comment.