DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
es6 class example
var Polygon = class { constructor(height, width) { this.height = height; this.width = width; } }
Source by www.tutorialspoint.com #
PREVIOUS
NEXT
Tagged:
#class
ADD COMMENT
Topic
COMMENT
Name
8+1 =
Submit