Created
January 13, 2013 12:02
-
-
Save hay/4523741 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
var Module = Stapes.subclass(); | |
var SubModule = Module.subclass(); | |
var module = new Module(); | |
var submodule = new SubModule(); | |
module instanceof Module; // true | |
submodule instanceof Module; // true | |
module instanceof SubModule; // false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment