mardi 21 août 2018

Javascript get Class of a parsed json string

I have a jsonstring, whick i parsed with JSON.parse(String); My problem is I want to check from which class it extends(It extends from my custom class Action) but I don't know how to check it with code. action instanceOf Action => false typeOf Action => Object




Aucun commentaire:

Enregistrer un commentaire