12 lines
162 B
JavaScript
12 lines
162 B
JavaScript
|
//// [assignFromBooleanInterface.ts]
|
||
|
var x = true;
|
||
|
var a: Boolean;
|
||
|
x = a;
|
||
|
a = x;
|
||
|
|
||
|
//// [assignFromBooleanInterface.js]
|
||
|
var x = true;
|
||
|
var a;
|
||
|
x = a;
|
||
|
a = x;
|