Closed dy closed 4 years ago
let c = v(0, 1, 2) c[0] === 0 c[1] === 1 c[2] === 2
That's better than ambiguous v() === [1,2,3], but implies fn to be only setter. Also can possibly turn it into proxy, or require multiargs to be set from the beginning, which is no good.
v() === [1,2,3]
Done
That's better than ambiguous
v() === [1,2,3]
, but implies fn to be only setter. Also can possibly turn it into proxy, or require multiargs to be set from the beginning, which is no good.