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.
Take the challenge — for free
Study all 3 cards in JavaScript Fundamentals with quizzes & spaced repetition — or create your own AI flashcards on any topic in seconds. No credit card.