{"ScriptPreparationCode":"class X { \r\n \r\n}\r\n\r\nclass Y extends X { \r\n}\r\n\r\nvar globalX = X;\r\nvar y = new Y();\r\n\r\nvar types = {\r\n \u0027A\u0027: 1,\r\n \u0027B\u0027: 2\r\n}\r\n\r\nclass A {\r\n constructor() {\r\n this.type = types.A;\r\n }\r\n}\r\n\r\nclass B extends A {\r\n constructor() {\r\n super();\r\n this.type = types.A | types.B;\r\n }\r\n}\r\n\r\nvar b = new B();\r\n","TestCases":[{"Name":"instanceOf","Code":"y instanceof globalX;","IsDeferred":false},{"Name":"flag check","Code":"b.type \u0026 types.A;","IsDeferred":false}]}