Variables store data. JavaScript has different data types like numbers, strings, booleans, and more. Let’s get familiar!
Output will appear here...
Output will appear here...
let
is for variables you want to change later.const
is for constants — they can’t be reassigned.null
is a weird quirk — typeof null returns "object".typeof
to debug data types while coding.