From 80a39393fedea78edf111cb420fe0ecccab9005f Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Sat, 30 Mar 2013 22:07:24 -0700 Subject: [PATCH] Use `toString.bind` instead of `slice.bind` in `nativeBind` assignment. Former-commit-id: f08d16b1fa8eb98cf848daff96f7449c0dc51c90 --- lodash.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lodash.js b/lodash.js index b58fce06a..874a4458a 100644 --- a/lodash.js +++ b/lodash.js @@ -174,7 +174,7 @@ toString = objectRef.toString; /* Native method shortcuts for methods with the same name as other `lodash` methods */ - var nativeBind = reNative.test(nativeBind = slice.bind) && nativeBind, + var nativeBind = reNative.test(nativeBind = toString.bind) && nativeBind, nativeIsArray = reNative.test(nativeIsArray = Array.isArray) && nativeIsArray, nativeIsFinite = context.isFinite, nativeIsNaN = context.isNaN,