DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
get class of object javascript
class Dog{} var dog = new Dog(); if(dog instanceof Dog){ console.log("Is dog"); }
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#class
#object
#javascript
ADD COMMENT
Topic
COMMENT
Name
6+2 =
Submit