doc: fix buf.length slice example
authorChinedu Francis Nwafili <frankie.nwafili@gmail.com>
Tue, 16 Feb 2016 14:42:29 +0000 (09:42 -0500)
committerMyles Borins <mborins@us.ibm.com>
Wed, 2 Mar 2016 22:01:11 +0000 (14:01 -0800)
commit8817b8b3506d8b20efa04ec926d92d4083f7cf58
tree14d4c5d1218dfd4c02eaa209f2b0eff450f6123b
parent59e55ae041a85da34dcffd1255d431349a37d41a
doc: fix buf.length slice example

Previously tried to reassign a const.

PR-URL: https://github.com/nodejs/node/pull/5259
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
doc/api/buffer.markdown