Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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