Create Simple Variables in JavaScript
Easy
22
73.7% Acceptance
In this lab, you'll practice creating JavaScript variables with different data types. You have to create four variables, each containing distinct data types:
- A variable with the name
num
of typenumber
- A variable with the name
str
of typestring
- A variable with the name
bool
of typeboolean
- A variable with the name
arr
of typearray
.