mirror of
https://github.com/swc-project/swc.git
synced 2024-12-20 20:22:26 +03:00
13 lines
314 B
TypeScript
13 lines
314 B
TypeScript
// @target: es5
|
|
|
|
var globalCounter = 0;
|
|
function foo() {
|
|
globalCounter += 1;
|
|
return { prop: 2 };
|
|
}
|
|
foo().prop **= 2;
|
|
var result0 = foo().prop **= 2;
|
|
foo().prop **= foo().prop **= 2;
|
|
var result1 = foo().prop **= foo().prop **= 2;
|
|
foo().prop **= foo().prop ** 2;
|
|
var result2 = foo().prop **= foo().prop ** 2; |