2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithSubtypeObjectOnIndexSignature.ts ===
|
|
|
|
class Base {
|
|
|
|
>Base : Base
|
|
|
|
|
|
|
|
public a: string;
|
|
|
|
>a : string
|
|
|
|
}
|
|
|
|
|
|
|
|
class Derived extends Base {
|
|
|
|
>Derived : Derived
|
|
|
|
>Base : Base
|
|
|
|
|
|
|
|
public b: string;
|
|
|
|
>b : string
|
|
|
|
}
|
|
|
|
|
|
|
|
var a1: { [a: string]: string };
|
2014-12-06 01:58:49 +01:00
|
|
|
>a1 : { [a: string]: string; }
|
2014-08-15 23:33:16 +02:00
|
|
|
>a : string
|
|
|
|
|
|
|
|
var b1: { [b: string]: string };
|
2014-12-06 01:58:49 +01:00
|
|
|
>b1 : { [b: string]: string; }
|
2014-08-15 23:33:16 +02:00
|
|
|
>b : string
|
|
|
|
|
|
|
|
var a2: { [index: string]: Base };
|
2014-12-06 01:58:49 +01:00
|
|
|
>a2 : { [index: string]: Base; }
|
2014-08-15 23:33:16 +02:00
|
|
|
>index : string
|
|
|
|
>Base : Base
|
|
|
|
|
|
|
|
var b2: { [index: string]: Derived };
|
2014-12-06 01:58:49 +01:00
|
|
|
>b2 : { [index: string]: Derived; }
|
2014-08-15 23:33:16 +02:00
|
|
|
>index : string
|
|
|
|
>Derived : Derived
|
|
|
|
|
|
|
|
var a3: { [index: number]: string };
|
2014-12-06 01:58:49 +01:00
|
|
|
>a3 : { [index: number]: string; }
|
2014-08-15 23:33:16 +02:00
|
|
|
>index : number
|
|
|
|
|
|
|
|
var b3: { [index: number]: string };
|
2014-12-06 01:58:49 +01:00
|
|
|
>b3 : { [index: number]: string; }
|
2014-08-15 23:33:16 +02:00
|
|
|
>index : number
|
|
|
|
|
|
|
|
var a4: { [index: number]: Base };
|
2014-12-06 01:58:49 +01:00
|
|
|
>a4 : { [index: number]: Base; }
|
2014-08-15 23:33:16 +02:00
|
|
|
>index : number
|
|
|
|
>Base : Base
|
|
|
|
|
|
|
|
var b4: { [index: string]: Derived };
|
2014-12-06 01:58:49 +01:00
|
|
|
>b4 : { [index: string]: Derived; }
|
2014-08-15 23:33:16 +02:00
|
|
|
>index : string
|
|
|
|
>Derived : Derived
|
|
|
|
|
|
|
|
// operator <
|
|
|
|
var r1a1 = a1 < b1;
|
|
|
|
>r1a1 : boolean
|
|
|
|
>a1 < b1 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>a1 : { [a: string]: string; }
|
|
|
|
>b1 : { [b: string]: string; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var r1a1 = a2 < b2;
|
|
|
|
>r1a1 : boolean
|
|
|
|
>a2 < b2 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>a2 : { [index: string]: Base; }
|
|
|
|
>b2 : { [index: string]: Derived; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var r1a1 = a3 < b3;
|
|
|
|
>r1a1 : boolean
|
|
|
|
>a3 < b3 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>a3 : { [index: number]: string; }
|
|
|
|
>b3 : { [index: number]: string; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var r1a1 = a4 < b4;
|
|
|
|
>r1a1 : boolean
|
|
|
|
>a4 < b4 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>a4 : { [index: number]: Base; }
|
|
|
|
>b4 : { [index: string]: Derived; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var r1b1 = b1 < a1;
|
|
|
|
>r1b1 : boolean
|
|
|
|
>b1 < a1 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>b1 : { [b: string]: string; }
|
|
|
|
>a1 : { [a: string]: string; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var r1b1 = b2 < a2;
|
|
|
|
>r1b1 : boolean
|
|
|
|
>b2 < a2 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>b2 : { [index: string]: Derived; }
|
|
|
|
>a2 : { [index: string]: Base; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var r1b1 = b3 < a3;
|
|
|
|
>r1b1 : boolean
|
|
|
|
>b3 < a3 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>b3 : { [index: number]: string; }
|
|
|
|
>a3 : { [index: number]: string; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var r1b1 = b4 < a4;
|
|
|
|
>r1b1 : boolean
|
|
|
|
>b4 < a4 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>b4 : { [index: string]: Derived; }
|
|
|
|
>a4 : { [index: number]: Base; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
// operator >
|
|
|
|
var r2a1 = a1 > b1;
|
|
|
|
>r2a1 : boolean
|
|
|
|
>a1 > b1 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>a1 : { [a: string]: string; }
|
|
|
|
>b1 : { [b: string]: string; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var r2a1 = a2 > b2;
|
|
|
|
>r2a1 : boolean
|
|
|
|
>a2 > b2 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>a2 : { [index: string]: Base; }
|
|
|
|
>b2 : { [index: string]: Derived; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var r2a1 = a3 > b3;
|
|
|
|
>r2a1 : boolean
|
|
|
|
>a3 > b3 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>a3 : { [index: number]: string; }
|
|
|
|
>b3 : { [index: number]: string; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var r2a1 = a4 > b4;
|
|
|
|
>r2a1 : boolean
|
|
|
|
>a4 > b4 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>a4 : { [index: number]: Base; }
|
|
|
|
>b4 : { [index: string]: Derived; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var r2b1 = b1 > a1;
|
|
|
|
>r2b1 : boolean
|
|
|
|
>b1 > a1 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>b1 : { [b: string]: string; }
|
|
|
|
>a1 : { [a: string]: string; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var r2b1 = b2 > a2;
|
|
|
|
>r2b1 : boolean
|
|
|
|
>b2 > a2 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>b2 : { [index: string]: Derived; }
|
|
|
|
>a2 : { [index: string]: Base; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var r2b1 = b3 > a3;
|
|
|
|
>r2b1 : boolean
|
|
|
|
>b3 > a3 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>b3 : { [index: number]: string; }
|
|
|
|
>a3 : { [index: number]: string; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var r2b1 = b4 > a4;
|
|
|
|
>r2b1 : boolean
|
|
|
|
>b4 > a4 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>b4 : { [index: string]: Derived; }
|
|
|
|
>a4 : { [index: number]: Base; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
// operator <=
|
|
|
|
var r3a1 = a1 <= b1;
|
|
|
|
>r3a1 : boolean
|
|
|
|
>a1 <= b1 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>a1 : { [a: string]: string; }
|
|
|
|
>b1 : { [b: string]: string; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var r3a1 = a2 <= b2;
|
|
|
|
>r3a1 : boolean
|
|
|
|
>a2 <= b2 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>a2 : { [index: string]: Base; }
|
|
|
|
>b2 : { [index: string]: Derived; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var r3a1 = a3 <= b3;
|
|
|
|
>r3a1 : boolean
|
|
|
|
>a3 <= b3 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>a3 : { [index: number]: string; }
|
|
|
|
>b3 : { [index: number]: string; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var r3a1 = a4 <= b4;
|
|
|
|
>r3a1 : boolean
|
|
|
|
>a4 <= b4 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>a4 : { [index: number]: Base; }
|
|
|
|
>b4 : { [index: string]: Derived; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var r3b1 = b1 <= a1;
|
|
|
|
>r3b1 : boolean
|
|
|
|
>b1 <= a1 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>b1 : { [b: string]: string; }
|
|
|
|
>a1 : { [a: string]: string; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var r3b1 = b2 <= a2;
|
|
|
|
>r3b1 : boolean
|
|
|
|
>b2 <= a2 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>b2 : { [index: string]: Derived; }
|
|
|
|
>a2 : { [index: string]: Base; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var r3b1 = b3 <= a3;
|
|
|
|
>r3b1 : boolean
|
|
|
|
>b3 <= a3 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>b3 : { [index: number]: string; }
|
|
|
|
>a3 : { [index: number]: string; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var r3b1 = b4 <= a4;
|
|
|
|
>r3b1 : boolean
|
|
|
|
>b4 <= a4 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>b4 : { [index: string]: Derived; }
|
|
|
|
>a4 : { [index: number]: Base; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
// operator >=
|
|
|
|
var r4a1 = a1 >= b1;
|
|
|
|
>r4a1 : boolean
|
|
|
|
>a1 >= b1 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>a1 : { [a: string]: string; }
|
|
|
|
>b1 : { [b: string]: string; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var r4a1 = a2 >= b2;
|
|
|
|
>r4a1 : boolean
|
|
|
|
>a2 >= b2 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>a2 : { [index: string]: Base; }
|
|
|
|
>b2 : { [index: string]: Derived; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var r4a1 = a3 >= b3;
|
|
|
|
>r4a1 : boolean
|
|
|
|
>a3 >= b3 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>a3 : { [index: number]: string; }
|
|
|
|
>b3 : { [index: number]: string; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var r4a1 = a4 >= b4;
|
|
|
|
>r4a1 : boolean
|
|
|
|
>a4 >= b4 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>a4 : { [index: number]: Base; }
|
|
|
|
>b4 : { [index: string]: Derived; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var r4b1 = b1 >= a1;
|
|
|
|
>r4b1 : boolean
|
|
|
|
>b1 >= a1 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>b1 : { [b: string]: string; }
|
|
|
|
>a1 : { [a: string]: string; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var r4b1 = b2 >= a2;
|
|
|
|
>r4b1 : boolean
|
|
|
|
>b2 >= a2 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>b2 : { [index: string]: Derived; }
|
|
|
|
>a2 : { [index: string]: Base; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var r4b1 = b3 >= a3;
|
|
|
|
>r4b1 : boolean
|
|
|
|
>b3 >= a3 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>b3 : { [index: number]: string; }
|
|
|
|
>a3 : { [index: number]: string; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var r4b1 = b4 >= a4;
|
|
|
|
>r4b1 : boolean
|
|
|
|
>b4 >= a4 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>b4 : { [index: string]: Derived; }
|
|
|
|
>a4 : { [index: number]: Base; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
// operator ==
|
|
|
|
var r5a1 = a1 == b1;
|
|
|
|
>r5a1 : boolean
|
|
|
|
>a1 == b1 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>a1 : { [a: string]: string; }
|
|
|
|
>b1 : { [b: string]: string; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var r5a1 = a2 == b2;
|
|
|
|
>r5a1 : boolean
|
|
|
|
>a2 == b2 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>a2 : { [index: string]: Base; }
|
|
|
|
>b2 : { [index: string]: Derived; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var r5a1 = a3 == b3;
|
|
|
|
>r5a1 : boolean
|
|
|
|
>a3 == b3 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>a3 : { [index: number]: string; }
|
|
|
|
>b3 : { [index: number]: string; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var r5a1 = a4 == b4;
|
|
|
|
>r5a1 : boolean
|
|
|
|
>a4 == b4 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>a4 : { [index: number]: Base; }
|
|
|
|
>b4 : { [index: string]: Derived; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var r5b1 = b1 == a1;
|
|
|
|
>r5b1 : boolean
|
|
|
|
>b1 == a1 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>b1 : { [b: string]: string; }
|
|
|
|
>a1 : { [a: string]: string; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var r5b1 = b2 == a2;
|
|
|
|
>r5b1 : boolean
|
|
|
|
>b2 == a2 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>b2 : { [index: string]: Derived; }
|
|
|
|
>a2 : { [index: string]: Base; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var r5b1 = b3 == a3;
|
|
|
|
>r5b1 : boolean
|
|
|
|
>b3 == a3 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>b3 : { [index: number]: string; }
|
|
|
|
>a3 : { [index: number]: string; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var r5b1 = b4 == a4;
|
|
|
|
>r5b1 : boolean
|
|
|
|
>b4 == a4 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>b4 : { [index: string]: Derived; }
|
|
|
|
>a4 : { [index: number]: Base; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
// operator !=
|
|
|
|
var r6a1 = a1 != b1;
|
|
|
|
>r6a1 : boolean
|
|
|
|
>a1 != b1 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>a1 : { [a: string]: string; }
|
|
|
|
>b1 : { [b: string]: string; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var r6a1 = a2 != b2;
|
|
|
|
>r6a1 : boolean
|
|
|
|
>a2 != b2 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>a2 : { [index: string]: Base; }
|
|
|
|
>b2 : { [index: string]: Derived; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var r6a1 = a3 != b3;
|
|
|
|
>r6a1 : boolean
|
|
|
|
>a3 != b3 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>a3 : { [index: number]: string; }
|
|
|
|
>b3 : { [index: number]: string; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var r6a1 = a4 != b4;
|
|
|
|
>r6a1 : boolean
|
|
|
|
>a4 != b4 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>a4 : { [index: number]: Base; }
|
|
|
|
>b4 : { [index: string]: Derived; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var r6b1 = b1 != a1;
|
|
|
|
>r6b1 : boolean
|
|
|
|
>b1 != a1 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>b1 : { [b: string]: string; }
|
|
|
|
>a1 : { [a: string]: string; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var r6b1 = b2 != a2;
|
|
|
|
>r6b1 : boolean
|
|
|
|
>b2 != a2 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>b2 : { [index: string]: Derived; }
|
|
|
|
>a2 : { [index: string]: Base; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var r6b1 = b3 != a3;
|
|
|
|
>r6b1 : boolean
|
|
|
|
>b3 != a3 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>b3 : { [index: number]: string; }
|
|
|
|
>a3 : { [index: number]: string; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var r6b1 = b4 != a4;
|
|
|
|
>r6b1 : boolean
|
|
|
|
>b4 != a4 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>b4 : { [index: string]: Derived; }
|
|
|
|
>a4 : { [index: number]: Base; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
// operator ===
|
|
|
|
var r7a1 = a1 === b1;
|
|
|
|
>r7a1 : boolean
|
|
|
|
>a1 === b1 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>a1 : { [a: string]: string; }
|
|
|
|
>b1 : { [b: string]: string; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var r7a1 = a2 === b2;
|
|
|
|
>r7a1 : boolean
|
|
|
|
>a2 === b2 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>a2 : { [index: string]: Base; }
|
|
|
|
>b2 : { [index: string]: Derived; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var r7a1 = a3 === b3;
|
|
|
|
>r7a1 : boolean
|
|
|
|
>a3 === b3 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>a3 : { [index: number]: string; }
|
|
|
|
>b3 : { [index: number]: string; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var r7a1 = a4 === b4;
|
|
|
|
>r7a1 : boolean
|
|
|
|
>a4 === b4 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>a4 : { [index: number]: Base; }
|
|
|
|
>b4 : { [index: string]: Derived; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var r7b1 = b1 === a1;
|
|
|
|
>r7b1 : boolean
|
|
|
|
>b1 === a1 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>b1 : { [b: string]: string; }
|
|
|
|
>a1 : { [a: string]: string; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var r7b1 = b2 === a2;
|
|
|
|
>r7b1 : boolean
|
|
|
|
>b2 === a2 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>b2 : { [index: string]: Derived; }
|
|
|
|
>a2 : { [index: string]: Base; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var r7b1 = b3 === a3;
|
|
|
|
>r7b1 : boolean
|
|
|
|
>b3 === a3 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>b3 : { [index: number]: string; }
|
|
|
|
>a3 : { [index: number]: string; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var r7b1 = b4 === a4;
|
|
|
|
>r7b1 : boolean
|
|
|
|
>b4 === a4 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>b4 : { [index: string]: Derived; }
|
|
|
|
>a4 : { [index: number]: Base; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
// operator !==
|
|
|
|
var r8a1 = a1 !== b1;
|
|
|
|
>r8a1 : boolean
|
|
|
|
>a1 !== b1 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>a1 : { [a: string]: string; }
|
|
|
|
>b1 : { [b: string]: string; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var r8a1 = a2 !== b2;
|
|
|
|
>r8a1 : boolean
|
|
|
|
>a2 !== b2 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>a2 : { [index: string]: Base; }
|
|
|
|
>b2 : { [index: string]: Derived; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var r8a1 = a3 !== b3;
|
|
|
|
>r8a1 : boolean
|
|
|
|
>a3 !== b3 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>a3 : { [index: number]: string; }
|
|
|
|
>b3 : { [index: number]: string; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var r8a1 = a4 !== b4;
|
|
|
|
>r8a1 : boolean
|
|
|
|
>a4 !== b4 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>a4 : { [index: number]: Base; }
|
|
|
|
>b4 : { [index: string]: Derived; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var r8b1 = b1 !== a1;
|
|
|
|
>r8b1 : boolean
|
|
|
|
>b1 !== a1 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>b1 : { [b: string]: string; }
|
|
|
|
>a1 : { [a: string]: string; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var r8b1 = b2 !== a2;
|
|
|
|
>r8b1 : boolean
|
|
|
|
>b2 !== a2 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>b2 : { [index: string]: Derived; }
|
|
|
|
>a2 : { [index: string]: Base; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var r8b1 = b3 !== a3;
|
|
|
|
>r8b1 : boolean
|
|
|
|
>b3 !== a3 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>b3 : { [index: number]: string; }
|
|
|
|
>a3 : { [index: number]: string; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var r8b1 = b4 !== a4;
|
|
|
|
>r8b1 : boolean
|
|
|
|
>b4 !== a4 : boolean
|
2014-12-06 01:58:49 +01:00
|
|
|
>b4 : { [index: string]: Derived; }
|
|
|
|
>a4 : { [index: number]: Base; }
|
2014-08-15 23:33:16 +02:00
|
|
|
|