Vérification en toute sécurité dans JS

// let nestedProp = obj.first && obj.first.second;
let nestedProp =obj.first?.second;
Brave Buzzard