QUESTION IMAGE
Question
what are the three types of variables in javascript? google it. spyros karoris · 12:05 pm do now · 10 points your answer assigned type your answer
Brief Explanations
In JavaScript, variables are declared using var, let, and const. var has function - scope and is hoisted. let has block - scope and is also hoisted but not initialized. const is used for declaring constants (values that don't change), has block - scope, and must be initialized at declaration.
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
The three types of variables in JavaScript are var, let, and const.