Skip to content

Commit 302d59d

Browse files
sam-githubFishrock123
authored andcommitted
doc: correct buffer.slice arg syntax
PR-URL: #2903 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent 74db963 commit 302d59d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/buffer.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ region in the same buffer
364364
// efghijghijklmnopqrstuvwxyz
365365

366366

367-
### buf.slice([start][, end])
367+
### buf.slice([start[, end]])
368368

369369
* `start` Number, Optional, Default: 0
370370
* `end` Number, Optional, Default: `buffer.length`

0 commit comments

Comments
 (0)