Created
February 27, 2016 14:06
-
-
Save andevsoftware/838a78a6db5d167f3589 to your computer and use it in GitHub Desktop.
BaseObject - static - getter
This file contains hidden or 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
class Animal extends BaseObject { | |
} | |
var animal = new Animal(); | |
// animal.static returns Animal's constructor | |
// | |
// Animal() { | |
// _super.apply(this, arguments); | |
// } | |
var animal2 = new animal.static; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment