SyntaxStudy
Sign Up
Home JavaScript Exercises Variables and Data Types

Variables and Data Types

Beginner

Fill in the JavaScript variable declaration keywords and data types.

To declare a block-scoped variable that can change: name = "Alice";

To declare a constant: PI = 3.14;

typeof "hello" returns "".

typeof 42 returns "".

typeof true returns "".