18 lines
238 B
Text
18 lines
238 B
Text
|
=== tests/cases/compiler/prefixIncrementAsOperandOfPlusExpression.ts ===
|
||
|
var x = 1;
|
||
|
>x : number
|
||
|
|
||
|
var y = 1;
|
||
|
>y : number
|
||
|
|
||
|
+ ++x;
|
||
|
>+ ++x : number
|
||
|
>++x : number
|
||
|
>x : number
|
||
|
|
||
|
+ ++y;
|
||
|
>+ ++y : number
|
||
|
>++y : number
|
||
|
>y : number
|
||
|
|