From 2fb5f1989479b99704ca7775d7860219a8f629de Mon Sep 17 00:00:00 2001 From: Yosuke Furukawa Date: Wed, 17 Jan 2018 16:36:59 +0900 Subject: [PATCH] doc: fix typo in TextEncoding section PR-URL: https://github.com/nodejs/node/pull/18201 Reviewed-By: James M Snell Reviewed-By: Colin Ihrig Reviewed-By: Khaidi Chu Reviewed-By: Richard Lau Reviewed-By: Vse Mozhet Byt Reviewed-By: Weijia Wang Reviewed-By: Benjamin Gruenbaum --- 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 95b5b825fde6df..9fd7926cc1a627 100644 --- a/doc/api/util.md +++ b/doc/api/util.md @@ -735,7 +735,7 @@ const uint8array = encoder.encode('this is some data'); UTF-8 encodes the `input` string and returns a `Uint8Array` containing the encoded bytes. -### textDecoder.encoding +### textEncoder.encoding * {string}