Created
May 2, 2020 02:25
-
-
Save ArnaudBuchholz/d577d7b4428565e2fbc0c8cc72aaae87 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
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