Comparing version 4.1.15 to 4.1.16
@@ -1515,3 +1515,3 @@ /*! | ||
} | ||
return output.length > splitLimit ? strSlice(output, 0, splitLimit) : output; | ||
return output.length > splitLimit ? arraySlice(output, 0, splitLimit) : output; | ||
}; | ||
@@ -1518,0 +1518,0 @@ }()); |
{ | ||
"name": "es5-shim", | ||
"version": "4.1.15", | ||
"version": "4.1.16", | ||
"description": "ECMAScript 5 compatibility shims for legacy JavaScript engines", | ||
@@ -5,0 +5,0 @@ "homepage": "http://github.com/es-shims/es5-shim/", |
@@ -231,3 +231,7 @@ /* global describe, it, expect */ | ||
}); | ||
it('works with the second argument', function () { | ||
expect('a b'.split(/ /, 1)).toEqual(['a']); | ||
}); | ||
}); | ||
}); |
Sorry, the diff of this file is not supported yet
383137
7381