From 302d59dce8338c4cd9b4158f7aebe1cebdae40f1 Mon Sep 17 00:00:00 2001 From: Sam Roberts Date: Sun, 13 Sep 2015 14:02:01 +0100 Subject: [PATCH] doc: correct buffer.slice arg syntax PR-URL: https://github.com/nodejs/node/pull/2903 Reviewed-By: Colin Ihrig --- doc/api/buffer.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/buffer.markdown b/doc/api/buffer.markdown index b539953..80941cb 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` -- 2.7.4