Skip to content

Commit

Permalink
doc: correct buffer.slice arg syntax
Browse files Browse the repository at this point in the history
PR-URL: #2903
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
sam-github authored and Fishrock123 committed Sep 16, 2015
1 parent 74db963 commit 302d59d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/buffer.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit 302d59d

Please sign in to comment.