mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 10:07:48 +00:00
Bump to v4.14.0.
This commit is contained in:
@@ -35,8 +35,9 @@ define(['./_baseClamp', './_baseToString', './toInteger', './toString'], functio
|
||||
? 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;
|
||||
}
|
||||
|
||||
return endsWith;
|
||||
|
||||
Reference in New Issue
Block a user