Bump to v4.0.0.

This commit is contained in:
John-David Dalton
2015-09-17 17:52:09 -07:00
parent 1d77dfa4b7
commit 54e7baecc3
675 changed files with 11257 additions and 8085 deletions

View File

@@ -1,4 +1,4 @@
/** Used for native method references. */
/** Used for built-in method references. */
var objectProto = Object.prototype;
/** Used to check objects for own properties. */
@@ -13,9 +13,9 @@ var hasOwnProperty = objectProto.hasOwnProperty;
*/
function initCloneArray(array) {
var length = array.length,
result = new array.constructor(length);
result = array.constructor(length);
// Add array properties assigned by `RegExp#exec`.
// Add properties assigned by `RegExp#exec`.
if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {
result.index = array.index;
result.input = array.input;