8 lines
156 B
TypeScript
8 lines
156 B
TypeScript
//// [instanceofOperatorWithAny.ts]
|
|
var a: any;
|
|
|
|
var r: boolean = a instanceof a;
|
|
|
|
//// [instanceofOperatorWithAny.js]
|
|
var a;
|
|
var r = a instanceof a;
|