Which one of the following can we use to declare a variable in JS?
Data Types and Variables

Quiz
•
Professional Development
•
Professional Development
•
Medium
Daniel Adesoji
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
const
let
var
all of the options
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
which of the following is a primitive data type in JS
object
array
string
function
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the default value of a variable in JavaScript if it's not assigned any value?
null
undefined
0
NaN
4.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Select all the valid data types in JS
string
boolean
int
char
number
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Simi wants to record her age using JS which of the following statement is correct?
let simiAge : 10;
let simiAge = 10;
let simiAge :=10;
let simiAge - 10;
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What keyword can we use to check if data type of a value in JS
dataTypeof
typeof
data
type
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Abraham Morenike wants to separate her name to first name and last name, what string method can she use?
separate()
section()
split()
divide()
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Nodejs: Queues and Background Workers

Quiz
•
Professional Development
15 questions
Javascript basics

Quiz
•
Professional Development
7 questions
Kotlin Fundamentals

Quiz
•
Professional Development
9 questions
PreTrainingJavaScript

Quiz
•
Professional Development
15 questions
Nodejs: Packages and Package.json

Quiz
•
Professional Development
6 questions
Continuous Professional Development(CPD)

Quiz
•
Professional Development
10 questions
Intro to Node.js

Quiz
•
Professional Development
10 questions
Quiz for Module2

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