mirror of https://github.com/nodejs/node.git
doc: correct buffer.slice arg syntax
PR-URL: https://github.com/nodejs/node/pull/2903 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>pull/2913/head
parent
a12628bd97
commit
e148dcce45
|
@ -364,7 +364,7 @@ region in the same buffer
|
||||||
// efghijghijklmnopqrstuvwxyz
|
// efghijghijklmnopqrstuvwxyz
|
||||||
|
|
||||||
|
|
||||||
### buf.slice([start][, end])
|
### buf.slice([start[, end]])
|
||||||
|
|
||||||
* `start` Number, Optional, Default: 0
|
* `start` Number, Optional, Default: 0
|
||||||
* `end` Number, Optional, Default: `buffer.length`
|
* `end` Number, Optional, Default: `buffer.length`
|
||||||
|
|
Loading…
Reference in New Issue