Menu
×
×
Correct!
Exercise:Use comments to describe the correct data type of the following variables:
let length = 16; // Number
let lastName = "Johnson"; // String
const x = {
firstName: "John",
lastName: "Doe"
}; // Object
let length = 16; // NUMBER
let lastName = "Johnson"; // STRING
const x = {
firstName: "John",
lastName: "Doe"
}; // OBJECT
let length = 16; // number
let lastName = "Johnson"; // string
const x = {
firstName: "John",
lastName: "Doe"
}; // object
Not CorrectClick here to try again. Correct!Next ❯let length = 16; //let lastName = "Johnson"; // const x = { firstName: "John", lastName: "Doe" }; // |