To declare a JavaScript variable, you should NOT use?
JavaScript

Quiz
•
English
•
University
•
Hard
Sarah Williams
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
Let
Var
Const
Int
2.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
How do you write "Hello World" in an alert box?
msg("Hello World");
alertBox("Hello World");
alert("Hello World");
msgBox("Hello World");
3.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
How can a developer show a pop-up message to the user?
alert
prompt
console.log
<p> tag
4.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
How do I declare a new variable?
var newVariable = 5;
Variable int = new Variable();
var 5 = myVariable;
int var = 5;
5.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
The following code will:
x++;
Add 1 to the previous value of x
Add 1 to the previous value of y
Subtract 1 from the previous value of x
Give an error message
6.
MULTIPLE SELECT QUESTION
1 min • 5 pts
Which of the following is a symbol that must NOT be present in any JS Variable? Choose two
A
z
~
%
7.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
What would this piece of code display?
let x = 5;
console.log(x != 8);
false
x!=8
true
8
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
It субботник

Quiz
•
University
11 questions
CSS Basics

Quiz
•
University
20 questions
DataStorm Quiz

Quiz
•
University
15 questions
Week 11 - Business Informations Systems - Emerging Technologies

Quiz
•
University
20 questions
Basics of Python Programming Unit-1

Quiz
•
University - Professi...
10 questions
EDUCATIONAL TECHNOLOGY

Quiz
•
2nd Grade - University
17 questions
Neo's Nexus Round1

Quiz
•
University
15 questions
Week 12 - Business Information Systems - CRM

Quiz
•
University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz

Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
15 questions
June Review Quiz

Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles

Quiz
•
8th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade