mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 04:32:01 +03:00
15 lines
196 B
TypeScript
15 lines
196 B
TypeScript
// @target: esnext, es2021, es2020, es2015
|
|
|
|
var count = 0;
|
|
var obj = {};
|
|
function incr() {
|
|
return ++count;
|
|
}
|
|
|
|
const oobj = {
|
|
obj
|
|
}
|
|
|
|
obj[incr()] ??= incr();
|
|
oobj["obj"][incr()] ??= incr();
|