Browse Source

doc: correct buffer.slice arg syntax

PR-URL: https://github.com/nodejs/node/pull/2903
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
v4.x
Sam Roberts 9 years ago
committed by Jeremiah Senkpiel
parent
commit
302d59dce8
  1. 2
      doc/api/buffer.markdown

2
doc/api/buffer.markdown

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

Loading…
Cancel
Save