Skip to content

Commit

Permalink
doc: move "Prints: ..." under the code
Browse files Browse the repository at this point in the history
PR-URL: #27035
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
  • Loading branch information
simon300000 authored and BethGriggs committed Apr 10, 2019
1 parent 0b94aec commit 64a74d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/api/buffer.md
Original file line number Diff line number Diff line change
Expand Up @@ -281,13 +281,13 @@ function:
```js
const buf = Buffer.from([1, 2, 3]);

for (const b of buf) {
console.log(b);
}
// Prints:
// 1
// 2
// 3
for (const b of buf) {
console.log(b);
}
```

Additionally, the [`buf.values()`], [`buf.keys()`], and
Expand Down

0 comments on commit 64a74d5

Please sign in to comment.