JavaScript · Lesson 18 of 138
Basics Quiz
Test yourself.
Let's check what you've learned so far. Pause before each answer.

- Five questions
- Pause and think
- Then listen
Question 1
Which keyword should you use by default for a variable? The answer is const. Use let only when the value will change.
Quick check
Default for variables?
Question 2
What does five plus the string five give? The answer is the string fifty five, because plus joins strings.
Quick check
5 + "5" = ?
Question 3
Which operator checks equality without converting types? The answer is three equals.
Quick check
Strict equality?
Question 4
What does typeof null give? The answer is object. It's an old quirk.
Quick check
typeof null?
Question 5
How do you insert a variable into a template literal? The answer is dollar sign and curly braces.
Quick check
Insert a value in backticks?
Summary
Great start. Next, a new section, control flow, starting with if statements.
Key takeaways- const by default
- === always
- ${} in backticks
Next up: if Statements — making decisions