this compiles to
((+(b0.value[1 - 1] ?? "") || 0) + 0)
but since undefined is a falsy value this could be optimized to
((+b0.value[1 - 1] || 0) + 0)
this can also be applied for list indexing where the compiler knows the index should be a number.
generates
((+(b0.value[(((+b1.value || 0) + 0) | 0) - 1] ?? "") || 0) + 0)
but similarly can be optimized to
((+b0.value[(((+b1.value || 0) + 0) | 0) - 1] || 0) + 0)
for list indexing where the compiler doesnt know that the index is a number, perhaps another version of listGet is created that doesnt do the nullish check.