I was surprised that this works to append
to a list
vim9script
var l2 = []
l2[0] = 3
echo l2
l2 = [1, 2, 3]
l2[3] = 4
echo l2
Unless a recent change introduced this
bug, it probably shouldn't be fixed.
Should it be documented?
-ernie