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}