JS memeriksa properti OBJ

const car={type:SUV,color:'Black'}
console.log('color'in car);// true
console.log('maxSpeed'in car)// false
Quaint Quelea