Created
March 9, 2017 08:40
-
-
Save debugmodedotnet/a6b01cbe8e42a5d5bd80e76362ef60f1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Student { | |
constructor(name, age) { | |
this.name = name; | |
this.age = age; | |
} | |
getData() { | |
return this.name + " is " + this.age + " years old !"; | |
} | |
} | |
console.log(typeof (Student)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment