From 59814d59984d01f465910cda76a99c0111faaa64 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 --- 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 864a866a7311b5..68f8487b1ba002 100644 --- a/doc/api/util.md +++ b/doc/api/util.md @@ -869,7 +869,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}