Data Types
Understand strings, numbers, booleans, arrays and objects.
What you should understand
Read the lesson carefully, study the example, then use the editor below to experiment with the code yourself.
let name = 'Alex'; let age = 18; let active = true; console.log(typeof name); console.log(typeof age); console.log(typeof active);
Output
See what your code produces.
Test your understanding
Choose the best answer.
Which keyword is commonly used to create a variable that can be reassigned?