##### ###### ##### ### # # ### # # ###### ## ## ## ## ## ## ## # # # # # ## ##### #### ##### # # # # # # # #### ## # ## ## ## ## # # # # # ## ## # ###### ## ### # ### # ######
##### ###### ##### ### # # ### # # ###### ## ## ## ## ## ## ## # # # # # ## ##### #### ##### # # # # # # # #### ## # ## ## ## ## # # # # # ## ## # ###### ## ### # ### # ######
##### ###### ##### ### # # ### # # ###### ## ## ## ## ## ## ## # # # # # ## ##### #### ##### # # # # # # # #### ## # ## ## ## ## # # # # # ## ## # ###### ## ### # ### # ######
Store and manage data with JavaScript's type system
What you'll learn
Storing values
Declaring variables
Constant values
When to use each
Test your understanding
Legacy declarations
Scope problems
Test your understanding
Basic value types
All numbers are the same
Floating point only
Test your understanding
Invalid number results
The right way
Beyond maximum
Test your understanding
Text values
Backtick strings
Strings don't change
Test your understanding
True and false
What counts as true
What counts as false
Test your understanding
Two kinds of nothing
Common situations
Test your understanding
Checking types
Known issues
Test your understanding
Beyond number limits
Unique identifiers
Automatic conversions
Manual conversions
Test your understanding
Loose equality
Strict equality
Real-world bugs
Test your understanding
Variables start undefined
A common mistake
Exploring types
Testing conversions
Comparing == and ===
Test your understanding
Combining concepts
Checking input types
Mistakes to avoid
Preparing for operators
Summary of key concepts