diff --git a/doc/api/buffer.markdown b/doc/api/buffer.markdown index b539953e07fa3d..80941cb466bf36 100644 --- a/doc/api/buffer.markdown +++ b/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`