mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
doc: fix typo in TextEncoding section
PR-URL: https://github.com/nodejs/node/pull/18201 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Khaidi Chu <i@2333.moe> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Weijia Wang <starkwang@126.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
This commit is contained in:
parent
1b0d9795b6
commit
98f744cbc9
@ -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}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user