Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 94be7fd

Browse filesBrowse files
smatsu-hlMylesBorins
authored andcommitted
doc: Add link for ECMAScript 2015
PR-URL: #17317 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Yosuke Furukawa <yosuke.furukawa@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
1 parent 0a40a11 commit 94be7fd
Copy full SHA for 94be7fd

File tree

Expand file treeCollapse file tree

1 file changed

+4
-3
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-3
lines changed
Open diff view settings
Collapse file

‎doc/api/buffer.md‎

Copy file name to clipboardExpand all lines: doc/api/buffer.md
+4-3Lines changed: 4 additions & 3 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
> Stability: 2 - Stable
66
7-
Prior to the introduction of [`TypedArray`] in ECMAScript 2015 (ES6), the
7+
Prior to the introduction of [`TypedArray`] in [`ECMAScript 2015`] (ES6), the
88
JavaScript language had no mechanism for reading or manipulating streams
99
of binary data. The `Buffer` class was introduced as part of the Node.js
1010
API to make it possible to interact with octet streams in the context of things
@@ -211,7 +211,7 @@ changes:
211211
-->
212212

213213
`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`].
215215
For example, while [`ArrayBuffer#slice()`] creates a copy of the slice, the
216216
implementation of [`Buffer#slice()`][`buf.slice()`] creates a view over the
217217
existing `Buffer` without copying, making [`Buffer#slice()`][`buf.slice()`] far
@@ -291,7 +291,7 @@ function:
291291

292292
## Buffers and ES6 iteration
293293

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`
295295
syntax.
296296

297297
Example:
@@ -2755,4 +2755,5 @@ This value may depend on the JS engine that is being used.
27552755
[RFC1345]: https://tools.ietf.org/html/rfc1345
27562756
[RFC4648, Section 5]: https://tools.ietf.org/html/rfc4648#section-5
27572757
[WHATWG Encoding Standard]: https://encoding.spec.whatwg.org/
2758+
[`ECMAScript 2015`]: https://www.ecma-international.org/ecma-262/6.0/index.html
27582759
[iterator]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.