jeudi 25 octobre 2018

How to reduce this if statement check in JavaScript

How can I reduce this if statement in JavaScript

if(obj.attributes && obj.attributes.email === 'test@test.com') { ... }

Aucun commentaire:

Enregistrer un commentaire