Skip to content

Instantly share code, notes, and snippets.

@debugmodedotnet
Created March 9, 2017 08:32
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save debugmodedotnet/42038c651a3871eac9c2654fbe97ecb3 to your computer and use it in GitHub Desktop.
var s1 = new Student("foo", 7);
var s2 = new Student("bar", 9);
class Student {
constructor(name, age) {
this.name = name;
this.age = age;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment