Avoid circular dependencies.

Former-commit-id: a45dd055f44f72797cb62ba040ecc2d45cc24634
This commit is contained in:
John-David Dalton
2013-07-24 08:27:09 -07:00
parent bdb7c226f1
commit 57fc027f77
9 changed files with 319 additions and 347 deletions

View File

@@ -556,7 +556,7 @@
// use `Function#bind` if it exists and is fast
// (in V8 `Function#bind` is slower except when partially applied)
if (!isPartial && !isAlt && !partialRightArgs.length && (support.fastBind || (nativeBind && partialArgs.length))) {
args = [func, thisArg];
var args = [func, thisArg];
push.apply(args, partialArgs);
var bound = nativeBind.call.apply(nativeBind, args);
}