Podcast
Questions and Answers
Which keyword is used to declare variables in JavaScript?
Which keyword is used to declare variables in JavaScript?
- variable
- let (correct)
- vare
- vari
What is a rule for naming variables in JavaScript?
What is a rule for naming variables in JavaScript?
- Variable names must start with a number
- Variable names should not start with a number (correct)
- Variable names should be as short as possible
- Variable names can only contain letters
What is an advantage of JavaScript?
What is an advantage of JavaScript?
- It can only run on Windows platform
- It is an interpreted language (correct)
- It has complex syntax
- It requires a separate compiler
How are values assigned to variables in JavaScript?
How are values assigned to variables in JavaScript?
What keyword is used to both declare and assign values to variables in a single line in JavaScript?
What keyword is used to both declare and assign values to variables in a single line in JavaScript?
Which of the following is NOT a rule for naming variables in JavaScript?
Which of the following is NOT a rule for naming variables in JavaScript?
What is the keyword used to declare variables in JavaScript?
What is the keyword used to declare variables in JavaScript?
What is an advantage of JavaScript?
What is an advantage of JavaScript?
How are values assigned to variables in JavaScript?
How are values assigned to variables in JavaScript?
What keyword is used to both declare and assign values to variables in a single line in JavaScript?
What keyword is used to both declare and assign values to variables in a single line in JavaScript?
Flashcards are hidden until you start studying