Get name of an object type in Javascript -
i use class.getname()
code in java
language name of object type. how can in javascript
language? can't find similar.
you can use typeof
or instanceof
.
for more info, can check more detailed answer : how javascript object's class?
Comments
Post a Comment