-
Destructuring is sugar. The compiler uses efficient access patterns instead of actual JS destructuring.
-
Tuples are not arrays. They are essentially records without labels, structs with a known layout. Random access is not possible. It’s the same restriction as not being able to use string keys for record fields.
↧
Tuple access by index (range)
↧