Commit 99920480 authored by Mr C0B's avatar Mr C0B Committed by Claudio Rodriguez
Browse files

buffer: fix a typo in Buffer example code

fixes `Buffer(.from[1, 2, 3])` into `Buffer.from(...)` (v5.x only)

https://nodejs.org/dist/latest-v5.x/docs/api/buffer.html

Commented in:
https://github.com/nodejs/node/commit/c1534e7#commitcomment-17228215

PR-URL: https://github.com/nodejs/node/pull/6361


Reviewed-By: default avatarMyles Borins <myles.borins@gmail.com>
Reviewed-By: default avatarBrian White <mscdex@mscdex.net>
Reviewed-By: default avatarColin Ihrig <cjihrig@gmail.com>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
parent ca215b98
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment