This is the second part of the series in 11 Things about JavaScript Functions that .NET Developers Should Know . You can find part 1 on our blog, and in this part of the series we will discuss:
- Scopes in functions
- Nested functions and Lexical scoping
- Functions’s this keyword
- Function as constructor
- The call() and the apply() methods
Scopes in function
Scoping stands for the current context of code execution…