Which is better way to compare the definition of an object? if(obj!==null & angular.isDefined(obj) or if(obj)?
Would love to know the use and abuse of both methods.
Aucun commentaire:
Enregistrer un commentaire