When looking for a property value that's deep in a tree-like structure, one often has to check whether intermediate nodes exist:var street = user.address && user.address.street;