JSTQL-JS-Transform/output_testing/523assignment-variations-complex-lvalue-array.js

6 lines
103 B
JavaScript
Raw Normal View History

function foo() {
const a = [[1]];
const first = 0 |> a.at(%);
0 |> first.set(%, 2);
return a;
}