Bump to v4.14.0.

This commit is contained in:
John-David Dalton
2016-07-24 09:52:22 -07:00
parent 6b3e0da93c
commit 51ed7e7707
231 changed files with 1136 additions and 820 deletions

View File

@@ -35,8 +35,9 @@ function endsWith(string, target, position) {
? length
: baseClamp(toInteger(position), 0, length);
var end = position;
position -= target.length;
return position >= 0 && string.indexOf(target, position) == position;
return position >= 0 && string.slice(position, end) == target;
}
export default endsWith;