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
}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly