|
4 | 4 |
|
5 | 5 | > Stability: 2 - Stable |
6 | 6 |
|
7 | | -Prior to the introduction of [`TypedArray`] in ECMAScript 2015 (ES6), the |
| 7 | +Prior to the introduction of [`TypedArray`] in [`ECMAScript 2015`] (ES6), the |
8 | 8 | JavaScript language had no mechanism for reading or manipulating streams |
9 | 9 | of binary data. The `Buffer` class was introduced as part of the Node.js |
10 | 10 | API to make it possible to interact with octet streams in the context of things |
@@ -211,7 +211,7 @@ changes: |
211 | 211 | --> |
212 | 212 |
|
213 | 213 | `Buffer` instances are also [`Uint8Array`] instances. However, there are subtle |
214 | | -incompatibilities with the TypedArray specification in ECMAScript 2015. |
| 214 | +incompatibilities with the TypedArray specification in [`ECMAScript 2015`]. |
215 | 215 | For example, while [`ArrayBuffer#slice()`] creates a copy of the slice, the |
216 | 216 | implementation of [`Buffer#slice()`][`buf.slice()`] creates a view over the |
217 | 217 | existing `Buffer` without copying, making [`Buffer#slice()`][`buf.slice()`] far |
@@ -291,7 +291,7 @@ function: |
291 | 291 |
|
292 | 292 | ## Buffers and ES6 iteration |
293 | 293 |
|
294 | | -`Buffer` instances can be iterated over using the ECMAScript 2015 (ES6) `for..of` |
| 294 | +`Buffer` instances can be iterated over using the [`ECMAScript 2015`] (ES6) `for..of` |
295 | 295 | syntax. |
296 | 296 |
|
297 | 297 | Example: |
@@ -2755,4 +2755,5 @@ This value may depend on the JS engine that is being used. |
2755 | 2755 | [RFC1345]: https://tools.ietf.org/html/rfc1345 |
2756 | 2756 | [RFC4648, Section 5]: https://tools.ietf.org/html/rfc4648#section-5 |
2757 | 2757 | [WHATWG Encoding Standard]: https://encoding.spec.whatwg.org/ |
| 2758 | +[`ECMAScript 2015`]: https://www.ecma-international.org/ecma-262/6.0/index.html |
2758 | 2759 | [iterator]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols |
0 commit comments