diff --git a/doc/api/buffer.md b/doc/api/buffer.md index 969668dd7a977a..afeef8b3c203ae 100644 --- a/doc/api/buffer.md +++ b/doc/api/buffer.md @@ -787,7 +787,8 @@ Allocates a new `Buffer` using an `array` of octets. const buf = Buffer.from([0x62, 0x75, 0x66, 0x66, 0x65, 0x72]); ``` -A `TypeError` will be thrown if `array` is not an `Array`. +A `TypeError` will be thrown if `array` is not an `Array` or other type +appropriate for `Buffer.from()` variants. ### Class Method: Buffer.from(arrayBuffer[, byteOffset[, length]])