Which of the following is NOT a primitive data type in JavaScript?

Javascript Basics

Quiz
•
Computers
•
Professional Development
•
Medium
Niel Neri
Used 2+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
String
Boolean
Array
Number
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What keyword is used to declare a variable in JavaScript?
var
let
const
All of the above
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code output?
console.log(5 + "5");
55
10
"55"
Error
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How would you access the 3rd element in an array named myArray?
myArray(2)
myArray[2]
myArray(3)
myArray.3
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function is used to parse a string into an integer in JavaScript?
parseInt()
stringToInt()
parseInteger()
toInteger()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the `===` operator do in JavaScript?
Checks for equality, but not type
Checks for equality, including type
Assigns a value to a variable
Compares two values, ignoring type
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code snippet output?
console.log(3 + 2 + "7");
"57"
"327"
"12"
Error
Create a free account and access millions of resources
Similar Resources on Quizizz
25 questions
AJWT MCQ Quiz

Quiz
•
Professional Development
22 questions
3TH sem GAT 2023

Quiz
•
Professional Development
20 questions
js_edu_wrap_up

Quiz
•
1st Grade - Professio...
20 questions
Final assessment

Quiz
•
Professional Development
20 questions
Soal HTML, CSS, dan JavaScript Basic

Quiz
•
Professional Development
20 questions
Beamery JavaScript Pub Quiz

Quiz
•
Professional Development
20 questions
Js 03.02

Quiz
•
Professional Development
21 questions
Java Quiz on Module 1 & 2

Quiz
•
Professional Development
Popular Resources on Quizizz
10 questions
Chains by Laurie Halse Anderson Chapters 1-3 Quiz

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
15 questions
Character Analysis

Quiz
•
4th Grade
12 questions
Multiplying Fractions

Quiz
•
6th Grade
30 questions
Biology Regents Review #1

Quiz
•
9th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function

Quiz
•
9th - 12th Grade