Skip to content

Instantly share code, notes, and snippets.

@ArnaudBuchholz
Created May 2, 2020 02:25
Show Gist options
  • Save ArnaudBuchholz/d577d7b4428565e2fbc0c8cc72aaae87 to your computer and use it in GitHub Desktop.
Save ArnaudBuchholz/d577d7b4428565e2fbc0c8cc72aaae87 to your computer and use it in GitHub Desktop.
const gpf = require("gpf-js");
class A {
constructor () {
this._a = "A";
}
}
const B = gpf.define({
$class: "B",
$extend: A,
constructor: function () {
this.$super();
this._b = "B";
}
})
const b = new B();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment