mirror of
https://github.com/nodejs/node.git
synced 2026-11-29 14:27:57 -05:00
doc: fix wrong output of example in util
In `mime.type` of util, `application/javascript` is actual output, but described as `application/javascript/javascript`. PR-URL: https://github.com/nodejs/node/pull/45825 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
1 parent
faee973fa7
commit
7e047dfcbb
1 file changed
+1
-1
+1
-1
@@ -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`
|
||||
|
||||
Reference in new issue
Block a user