Bump to v4.14.0.

This commit is contained in:
John-David Dalton
2016-07-24 09:52:04 -07:00
parent 2ab869e88a
commit edb45df54b
219 changed files with 1852 additions and 1345 deletions

View File

@@ -26,7 +26,8 @@ define(['./_baseClamp', './_baseToString', './toInteger', './toString'], functio
function startsWith(string, target, position) {
string = toString(string);
position = baseClamp(toInteger(position), 0, string.length);
return string.lastIndexOf(baseToString(target), position) == position;
target = baseToString(target);
return string.slice(position, position + target.length) == target;
}
return startsWith;