mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 17:47:49 +00:00
Bump to v4.6.0.
This commit is contained in:
@@ -12,9 +12,7 @@ define([], function() {
|
||||
if (isDeep) {
|
||||
return buffer.slice();
|
||||
}
|
||||
var Ctor = buffer.constructor,
|
||||
result = new Ctor(buffer.length);
|
||||
|
||||
var result = new buffer.constructor(buffer.length);
|
||||
buffer.copy(result);
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user