mirror of
https://github.com/voltrevo/ValueScript.git
synced 2026-01-13 23:48:02 -05:00
11 lines
190 B
TypeScript
11 lines
190 B
TypeScript
// test_output! ["c","a","b"]
|
|
|
|
export default function main() {
|
|
let log: string[] = [];
|
|
let x;
|
|
|
|
({[log.push('a')]: x = log.push('b')} = [log.push('c')] && {} as any);
|
|
|
|
return log;
|
|
}
|