mirror of
https://github.com/swc-project/swc.git
synced 2024-12-01 01:13:56 +03:00
b887b30092
**Description:** This is required for https://github.com/swc-project/swc/pull/6981 and https://github.com/swc-project/swc/pull/6950
14 lines
229 B
TypeScript
14 lines
229 B
TypeScript
// @target: es5
|
|
|
|
var object = {
|
|
_0: 2,
|
|
get 0() {
|
|
return this._0;
|
|
},
|
|
set 0(x: number) {
|
|
this._0 = x;
|
|
},
|
|
}
|
|
object[0] **= object[0];
|
|
object[0] **= object[0] **= 2;
|
|
object[0] **= object[0] ** 2; |