DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
How to get the Class Name of an Object in JavaScript
class Language {} const l1 = new Language(); console.log(l1.constructor.name);
Source by itsjavascript.com #
PREVIOUS
NEXT
Tagged:
#How
#Class
#Name
#Object
#JavaScript
ADD COMMENT
Topic
COMMENT
Name
7+2 =
Submit