Skip to content

Commit 7bedcfd

Browse files
authored
doc: fix typo
PR-URL: #56125 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com>
1 parent fe12b01 commit 7bedcfd

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎doc/changelogs/CHANGELOG_V22.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,11 @@ When a `Buffer` is created using a resizable `ArrayBuffer`, the `Buffer` length
8080
```js
8181
constab=newArrayBuffer(10, { maxByteLength:20 });
8282
constbuffer=Buffer.from(ab);
83-
console.log(buffer.byteLength); 10
83+
console.log(buffer.byteLength); //10
8484
ab.resize(15);
85-
console.log(buffer.byteLength); 15
85+
console.log(buffer.byteLength); //15
8686
ab.resize(5);
87-
console.log(buffer.byteLength); 5
87+
console.log(buffer.byteLength); //5
8888
```
8989

9090
Contributed by James Snell in [#55377](https://github.com/nodejs/node/pull/55377)

0 commit comments

Comments
 (0)