Skip to content

Commit 2a365de

Browse files
authored
Fix bind polyfill typo : funcArgs -> fnArgs
1 parent e0e88f1 commit 2a365de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

challenges/functions-challenges.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ if(!Function.prototype.bind){
114114
var fnArgs = Array.prototype.slice.call(arguments, 1);
115115

116116
return function(){
117-
var allArgs = funcArgs.concat(Array.prototype.slice.call(arguments))
117+
var allArgs = fnArgs.concat(Array.prototype.slice.call(arguments))
118118
fn.apply(context, allArgs);
119119
};
120120
}
@@ -641,4 +641,4 @@ This is a well known JavaScript pattern called as __Publish/Subscribe Pattern__
641641
642642
<br />
643643
644-
[[↑] Back to top](#home)
644+
[[↑] Back to top](#home)

0 commit comments

Comments
 (0)