mirror of
https://github.com/nodejs/node.git
synced 2026-11-30 11:55:44 -05:00
doc: correct buffer.slice arg syntax
PR-URL: https://github.com/nodejs/node/pull/2903 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
1 parent
a12628bd97
commit
e148dcce45
1 file changed
+1
-1
@@ -364,7 +364,7 @@ region in the same buffer
|
||||
// efghijghijklmnopqrstuvwxyz
|
||||
|
||||
|
||||
### buf.slice([start][, end])
|
||||
### buf.slice([start[, end]])
|
||||
|
||||
* `start` Number, Optional, Default: 0
|
||||
* `end` Number, Optional, Default: `buffer.length`
|
||||
|
||||
Reference in new issue
Block a user