From f7b48a3d0862672fc575b59743fe4bf05ee79755 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 186079f26bd106..52e9e41639e0ca 100644 --- a/doc/api/util.md +++ b/doc/api/util.md @@ -709,7 +709,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}