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}