Skip to content

Commit 4a17f1f

Browse files
authored
Update lib/buffer.js
1 parent e0af1f9 commit 4a17f1f

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
@@ -335,7 +335,7 @@ Buffer.from = function from(value, encodingOrOffset, length) {
335335
/**
336336
* Creates the Buffer as a copy of the underlying ArrayBuffer of the view
337337
* rather than the contents of the view.
338-
* @param {Buffer|TypedArray|DataView} view
338+
* @param {Buffer|TypedArray|DataView|ArrayBuffer|SharedArrayBuffer} view
339339
* @param {number} [offset]
340340
* @param {number} [length]
341341
* @returns {Buffer}

0 commit comments

Comments
 (0)