Skip to content

Instantly share code, notes, and snippets.

@hay hay/ex3.js
Created Jan 13, 2013

Embed
What would you like to do?
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
You can’t perform that action at this time.