doc: move "Prints: ..." under the code

PR-URL: https://github.com/nodejs/node/pull/27035
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
pull/26969/head
simon3000 2019-04-01 07:26:56 +08:00 committed by Vse Mozhet Byt
parent 6eae41480b
commit c6faf5b64e
1 changed files with 3 additions and 3 deletions

View File

@ -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