We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abd3ecf commit 31421afCopy full SHA for 31421af
lib/buffer.js
@@ -170,7 +170,7 @@ Buffer.isEncoding = function(encoding) {
170
171
Buffer.concat = function(list, length) {
172
if (!Array.isArray(list))
173
- throw new TypeError('Usage: Buffer.concat(list[, length])');
+ throw new TypeError('list argument must be an Array of Buffers.');
174
175
if (length === undefined) {
176
length = 0;
0 commit comments