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

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -