| var __extends = this.__extends || function (d, b) { function __() { this.constructor = d; } __.prototype = b.prototype; d.prototype = new __(); } var Mcn = (function () { function Mcn() { } return Mcn; })(); var Mcn1 = (function (_super) { __extends(Mcn1, _super); function Mcn1() { _super.apply(this, arguments); } return Mcn1; })(Mcn); var McnFinal = (function (_super) { __extends(McnFinal, _super); function McnFinal() { _super.apply(this, arguments); } return McnFinal; })(Mcn1); var John = new Mcn1(); if(John instanceof Mcn1) { alert("John is an employee of Mcn Solution"); } if(John instanceof Mcn) { alert("John is an employee of Mcn Solution"); } |