mirror of
https://github.com/swc-project/swc.git
synced 2024-12-20 04:01:39 +03:00
13 lines
317 B
TypeScript
13 lines
317 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; |