15 lines
226 B
JavaScript
15 lines
226 B
JavaScript
|
//// [validBooleanAssignments.ts]
|
||
|
var x = true;
|
||
|
|
||
|
var a: any = x;
|
||
|
var b: Object = x;
|
||
|
var c: Boolean = x;
|
||
|
var d: boolean = x;
|
||
|
|
||
|
//// [validBooleanAssignments.js]
|
||
|
var x = true;
|
||
|
var a = x;
|
||
|
var b = x;
|
||
|
var c = x;
|
||
|
var d = x;
|