Tagged “closure”
-
TIL the difference between partial application and currying advanced javascript closure
Partial application transforms a function into another function with smaller set of arguments. Currying creates nesting functions according to the number of the arguments of the function. Each function receives an argument.
-
TIL some more examples of closure javascript closure
Five benefits- Private variables and methods. Data hiding and encapsulation. Currying. Function Factories. Performance
-
TIL setTimeout, blocks, closure interview-questions stack-overflow closure
setTimeout is creating a closure function. More importantly, vars get yoinked by closure, where lets create their own block scope.
-
TIL the difference of Closures in Javascript vs PHP php javascript closure
I never knew PHP and Javascript closures were different.
-
TIL Lexical Scoping javascript closure
Lexical scoping describes how a parser resolves variable names when functions are nested.
See all tags.