WorksheetsCodecademy Intro to JavaScript
Total questions: 16
Worksheet time: 8mins
Variable names cannot start with numbers.
True
False
_____ is a JavaScript keyword that creates, or declares, a new variable.
script
var
bar
console
(what symbol) is the assignment operator. It assigns the value to the variable
+
: )
;
=
the "let" keyword signals that the variable cannot be changed
True
False
What will you get if you try to declare a "const" variable without a value?
TypeError
SyntaxError
SpellingError
Which mathematical assignment is the "increment operator"?
+=
++
--
+-
What does "Concatenation" mean?
to add
to subtract
to join together
to swindle a cat out of money
Which of the following is the correct Javascript format for a comment?
// "the text"
/"the text"/
*/"the text"/*
\\"the text
Bonus Question: What is the web programming Trifecta?
HTML, CSS, Javascript
Java, C+, HTML
Java, HTML, CSS
Kobe, Labron, Jordan
