Quiz on Arrow Functions and Functional Style
Quiz yourself on arrow functions and functional style to check your understanding of this chapter.
1
Does JavaScript use lexical scoping or dynamic scoping for anonymous functions?
A)
Dynamic Scoping
B)
Lexical Scoping
C)
For anonymous functions, this
and arguments
are dynamically scoped and other non-local, non-parameter variables are lexically scoped.
Question 1 of 50 attempted
Get hands-on with 1400+ tech skills courses.