Revature interview question

How do you classify a variable in JavaScript?

Interview Answers

Anonymous

Dec 10, 2020

You declare a JavaScript variable with the var keyword: var carName and after the declaration, the variable has no value (technically it has the value of undefined ).

13

Anonymous

Oct 6, 2021

let and var