mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-29 06:27:49 +00:00
Fixin some leftovers bb7c959.
This commit is contained in:
committed by
John-David Dalton
parent
f983ff2b7c
commit
351e44a127
@@ -20,7 +20,7 @@
|
||||
* endsWith('abc', 'b', 2)
|
||||
* // => true
|
||||
*/
|
||||
function endsWith(string, target, position) {)
|
||||
function endsWith(string, target, position) {
|
||||
const { length } = string
|
||||
position = position === undefined ? length : +position
|
||||
if (position < 0 || position != position) {
|
||||
|
||||
Reference in New Issue
Block a user