{"ScriptPreparationCode":"class BaseClass {\r\n constructor(val) {\r\n this._bVal = val;\r\n }\r\n\r\n get bVal() {\r\n return this._bVal;\r\n }\r\n\r\n set bVal(value) {\r\n this._bVal = value;\r\n }\r\n}\r\n\r\nclass ParentClass extends BaseClass {\r\n constructor(val) {\r\n super(val)\r\n this._pVal = val \u002B \u0027_parent\u0027;\r\n }\r\n\r\n get pVal() {\r\n return this._pVal;\r\n }\r\n\r\n set pVal(value) {\r\n this._pVal = value;\r\n }\r\n}\r\n\r\nclass ChildClass extends BaseClass {\r\n constructor(val) {\r\n super(val)\r\n this._cVal = val \u002B \u0027_child\u0027;\r\n }\r\n\r\n get cVal() {\r\n return this._cVal;\r\n }\r\n\r\n set cVal(value) {\r\n this._cVal = value;\r\n }\r\n}\r\n\r\nclass AnotherClass {\r\n constructor(val) {\r\n this._bVal = val;\r\n }\r\n\r\n get bVal() {\r\n return this._bVal;\r\n }\r\n\r\n set bVal(value) {\r\n this._bVal = value;\r\n }\r\n}\r\n\r\nvar VarBaseClass = BaseClass;\r\nvar VarAnotherClass = AnotherClass;\r\nvar t = new ChildClass(\u0027test\u0027);","TestCases":[{"Name":"success - instanceof","Code":"t instanceof VarBaseClass","IsDeferred":false},{"Name":"success - isPrototypeOf","Code":"VarBaseClass.prototype.isPrototypeOf(t)","IsDeferred":false},{"Name":"error - instanceof","Code":"t instanceof VarAnotherClass","IsDeferred":false},{"Name":"error- isPrototypeOf","Code":"VarAnotherClass.prototype.isPrototypeOf(t)","IsDeferred":false}]}