How do you declare a variable in JavaScript?
JavaScript Variables Flashcard

Flashcard
•
Computers
•
9th - 12th Grade
•
Hard
Quizizz Content
FREE Resource
Student preview

26 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Back
var
2.
FLASHCARD QUESTION
Front
What are the different types of values that a variable in JavaScript can represent?
Back
string, number, boolean, object, function, undefined
3.
FLASHCARD QUESTION
Front
Is JavaScript attentive to the way we dress up variable names, paying attention to uppercase and lowercase letters?
Back
Yes
4.
FLASHCARD QUESTION
Front
Show Me What You Got! You're creating a new variable in JavaScript for your intergalactic DJ app. What rules must you follow for naming it?
Back
Variable names must begin with a letter, underscore (_), or dollar sign ($)
5.
FLASHCARD QUESTION
Front
What does JavaScript default a variable to if it is declared but not assigned any value?
Back
undefined
6.
FLASHCARD QUESTION
Front
Show Me What You Got! Explain the difference between 'let', 'var', and 'const' in JavaScript variable declaration.
Back
They have different scopes and usage in JavaScript.
7.
FLASHCARD QUESTION
Front
Can a variable name in JavaScript be initiated with a digit?
Back
No
Create a free account and access millions of resources
Similar Resources on Quizizz
22 questions
AP CSP Vocab #4

Flashcard
•
9th - 12th Grade
20 questions
Javascript Basics

Flashcard
•
7th Grade - University
22 questions
Review JavaScript

Flashcard
•
11th Grade - University
20 questions
Scratch Test - New

Flashcard
•
9th - 12th Grade
20 questions
JavaScript Math

Flashcard
•
9th - 11th Grade
19 questions
AP CSP Unit 5 Review: Lists, Loops and Traversals

Flashcard
•
9th - 12th Grade
21 questions
CodeHS JavaScript

Flashcard
•
8th - 12th Grade
19 questions
HTML, CSS, Javascript

Flashcard
•
11th - 12th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Identify Slope and y-intercept (from equation)

Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
27 questions
STAAR English 1 Review

Quiz
•
9th Grade