JS Flashcards
1
Q
whats an object and How can a vehicle Object be created
A
an object is an initializer for two or more pairs of property names and values
const vehcile = {
type = “car”,
color = “red”,
numberPlate = 3472
}
whats an object and How can a vehicle Object be created
an object is an initializer for two or more pairs of property names and values
const vehcile = {
type = “car”,
color = “red”,
numberPlate = 3472
}