Skip to content

Commit 776eb85

Browse files
committed
Update lib/buffer.js
1 parent 5124705 commit 776eb85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/buffer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ Buffer.from = function from(value, encodingOrOffset, length) {
373373
/**
374374
* Creates the Buffer as a copy of the underlying ArrayBuffer of the view
375375
* rather than the contents of the view.
376-
* @param {Buffer|TypedArray|DataView} view
376+
* @param {Buffer|TypedArray|DataView|ArrayBuffer|SharedArrayBuffer} view
377377
* @param {number} [offset]
378378
* @param {number} [length]
379379
* @returns {Buffer}

0 commit comments

Comments
 (0)