mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 14:43:33 +03:00
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; |