QUESTION IMAGE
Question
5.2.3 variables quiz
question: 1
what keyword do you need to use to define a variable in javascript?
variable
let
int
x
Brief Explanations
To determine the correct keyword for defining a variable in JavaScript:
- "variable" is not a JavaScript keyword for variable declaration.
- "let" is a valid keyword used to declare variables in JavaScript (along with "var" and "const" in different contexts).
- "int" is a data type keyword in languages like Java, not used for variable declaration in JavaScript.
- "x" is a variable name, not a keyword for 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
B. let