Flashcards (3)
Card 1
What is closure?
A closure is a function that has access to variables in its outer scope.
Card 2
What is hoisting?
Hoisting is JavaScript's default behavior of moving declarations to the top.
Card 3
What is the event loop?
The event loop is what allows JavaScript to perform non-blocking operations.