Open littledan opened 6 years ago
This could be especially useful for the destructuring bind case, to have sealed arrays. But also, frozen array literals could be useful for when you have an array of constants that shouldn't change for semantic reasons.
Arrays are also part of this proposal; it isn't immediately clear though; I'll fix this.
This could be especially useful for the destructuring bind case, to have sealed arrays. But also, frozen array literals could be useful for when you have an array of constants that shouldn't change for semantic reasons.