
JavaScript

Quiz
•
Other
•
University
•
Medium
Son Nguyen
Used 4+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a primitive data type in JavaScript?
number
string
boolean
array
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is used to compare two values and return true if they are not equal in value and data type?
!=
==
!==
===
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the expression true && false in JavaScript?
true
false
undefined
null
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code? console.log(2 + "2");
"4"
4
"22"
22
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used to declare a variable that cannot be reassigned in JavaScript?
const
let
var
none of all the answers
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the expression "5" - 2 in JavaScript?
3
"3"
NaN
undefined
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method is used to remove the last element from an array in JavaScript?
pop()
push()
shift()
unshift()
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Quiz-4: Function & Array

Quiz
•
University
25 questions
UNIT - 1 A Compiler Concepts Quiz

Quiz
•
University
20 questions
A2-3. Ünite Tekrar

Quiz
•
University
20 questions
Web Technology

Quiz
•
University
20 questions
Series

Quiz
•
University
20 questions
Quiz PL/SQL 21Juni2022

Quiz
•
University
15 questions
JavaScript

Quiz
•
University
20 questions
ITB Quiz 1

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Other
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University