mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 23:57:49 +00:00
Bump to v3.7.0.
This commit is contained in:
@@ -29,7 +29,7 @@ function endsWith(string, target, position) {
|
||||
target = (target + '');
|
||||
|
||||
var length = string.length;
|
||||
position = typeof position == 'undefined'
|
||||
position = position === undefined
|
||||
? length
|
||||
: nativeMin(position < 0 ? 0 : (+position || 0), length);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user