From 67efe2a55e4d1b6e8ab3135157a491c8c14dd2b7 Mon Sep 17 00:00:00 2001 From: Deokjin Kim Date: Tue, 13 Dec 2022 03:11:44 +0900 Subject: [PATCH] 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 Reviewed-By: Mohammed Keyvanzadeh Reviewed-By: Colin Ihrig --- doc/api/util.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/util.md b/doc/api/util.md index d1923a7749cda7..15889b55f81134 100644 --- a/doc/api/util.md +++ b/doc/api/util.md @@ -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`