The answer
var can lead to unexpected behavior due to function scope and hoisting.
var can lead to unexpected behavior due to function scope and hoisting.
Browse all our FAQs or reach out to our support team
Your learning library
Find your next course. Build something great.