javascrict return default value when accessing onject 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";