doc: fix buffer api example code's token error

Buffer's Blob api example code has some token error

PR-URL: https://github.com/nodejs/node/pull/40125
Reviewed-By: Qingyu Deng <i@ayase-lab.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
m3m0ry authored and Michaël Zasso committed 2021-10-04 20:30:54 +02:00
1 parent 67812e8c65
commit 73a127ba7b
1 file changed
+2 -2
+2 -2
View File
@@ -574,7 +574,7 @@ mc1.port2.postMessage(blob);
mc2.port2.postMessage(blob);
// The Blob is still usable after posting.
data.text().then(console.log);
blob.text().then(console.log);
```
```cjs
@@ -601,7 +601,7 @@ mc1.port2.postMessage(blob);
mc2.port2.postMessage(blob);
// The Blob is still usable after posting.
data.text().then(console.log);
blob.text().then(console.log);
```
## Class: `Buffer`