jeudi 16 mars 2017

How to know if a setter exists

How can I know, trying to access dynamically, if a given setter exists for an object, assuming a getter does exist. So the point is to know if a value can be set for that property, but using hasOwnProperty returns true as a property by that name does exist.

Aucun commentaire:

Enregistrer un commentaire