mercredi 7 juin 2017

If object array has x parameter [duplicate]

This question already has an answer here:

I have object array:

obj = {
 name : "john doe",
 phone : "123456789"
};

I want to check if there is an "email" parameter.

Aucun commentaire:

Enregistrer un commentaire