Merge pull request #2701 from deisner/patch-1

Update article.md
This commit is contained in:
Ilya Kantor 2021-10-10 19:55:01 +03:00 committed by GitHub
commit 0d673762fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,7 +2,7 @@
What if the binary data is actually a string? For instance, we received a file with textual data.
The build-in [TextDecoder](https://encoding.spec.whatwg.org/#interface-textdecoder) object allows to read the value into an actual JavaScript string, given the buffer and the encoding.
The built-in [TextDecoder](https://encoding.spec.whatwg.org/#interface-textdecoder) object allows one to read the value into an actual JavaScript string, given the buffer and the encoding.
We first need to create it:
```js