Which keyword is used to declare a variable in JavaScript?
JS-QUIZ

Quiz
•
Information Technology (IT)
•
Professional Development
•
Medium
Asma Fathima
Used 3+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
var
let
const
All of the above
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does typeof null return?
null
object
undefined
string
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method is used to convert a string into an array?
arrayify()
slice()
join()
split()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you write a single-line comment in JavaScript?
// comment
<!-- comment -->
/* comment */
# comment
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will 2 + "2" evaluate to in JavaScript?
4
22
undefined
NaN
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function is used to parse a string into an integer?
parseInt()
parseFloat()
Number()
toInt()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does NaN stand for?
No Argument Needed
Not a Number
Number at Null
Non-Accessible Node
Create a free account and access millions of resources
Similar Resources on Quizizz
24 questions
คำถามเกี่ยวกับ Java GUI

Quiz
•
Professional Development
20 questions
JavaScript Quizz

Quiz
•
Professional Development
20 questions
Frontend - CTO Cup

Quiz
•
Professional Development
20 questions
HyQuizz_Mùa 3_Day 2

Quiz
•
Professional Development
30 questions
FE Basic Quiz

Quiz
•
Professional Development
25 questions
Quiz on RAM and Storage Devices

Quiz
•
Professional Development
20 questions
Understanding HTML

Quiz
•
Professional Development
20 questions
React Redux

Quiz
•
Professional Development
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