1
0
Fork 0
easejs/scripts/ex/class-poly.js

8 lines
212 B
JavaScript

var cow = Cow(),
sturdy = SturdyCow();
Class.isA( Cow, cow ); // true
Class.isA( SturdyCow, cow ); // false
Class.isA( Cow, sturdy ); // true
Class.isA( SturdyCow, sturdy ); // true