get access to object by one of its properties javascript code example
Example: javascript object get property or default
// won't work if obj.property is falsey
let value = obj.property || "default";
// won't work if obj.property is falsey
let value = obj.property || "default";