Posted on May 16, 2022 by Christine WilsonJavaScript object property is undefined if (typeof car.color === 'undefined') { // color is undefined }