mirror of
https://github.com/swc-project/swc.git
synced 2024-12-19 03:31:45 +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; |