What is the output of console.log(typeof NaN);?

Javascript-WED201c

Quiz
•
Computers
•
University
•
Easy
Ngô Giang Thanh (FE FPTU DN)
Used 2+ times
FREE Resource
22 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
"number"
"undefined"
"string"
"object"
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used to declare a variable that cannot be reassigned?
var
let
const
static
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the === operator check?
Value only
Type only
Value and type
Reference only
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create a function in JavaScript?
function myFunc() {}
create myFunc() {}
func myFunc() {}
myFunc = function {}
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will console.log(0 == '0'); output?
true
false
undefined
null
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method is used to add an element to the end of an array?
push()
pop()
shift()
unshift()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of console.log(2 + "2");?
4
"22"
22
NaN
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
DBMS Relational Algebra & Calculus Quiz 4

Quiz
•
University
20 questions
DBMS Quiz

Quiz
•
University
23 questions
Java Array

Quiz
•
University
20 questions
SQL_2

Quiz
•
University
21 questions
Prog Web U3

Quiz
•
University
19 questions
SQL4-Join/aggregate functions/group by

Quiz
•
University
20 questions
Quiz Pemrograman Lanjut 2022/2023

Quiz
•
University
22 questions
c++

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade