how to get a value from a non predefined object 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";