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 9, 2019
1 parent 0f08a8e commit c4b790b
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 c4b790b

Please sign in to comment.