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