Skip to content

Instantly share code, notes, and snippets.

Avatar
🎊
building fun things

Owen Williams ow

🎊
building fun things
View GitHub Profile
@ow
ow / es6.js
Created Mar 7, 2016 — forked from csarrazi/es6.js
ES6 classes
View es6.js
class Animal {
constructor(race) {
this.race = race;
}
}
class Cat extends Animal {
constructor(race) {
super(race);
}