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
Sam Roberts 2015-09-13 14:02:01 +01:00
parent a12628bd97
commit e148dcce45
1 changed files with 1 additions and 1 deletions

View File

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