ES4 draft: array initializer expressions
olav at olav.dk
Sun Jun 22 07:37:54 PDT 2008
I have a (perhaps stupid) question regarding the Array type syntax. What is
the use case for a type like:
[string, double, ...boolean]
I understand the utility of heterogeneous tuples of a fixed size, and of
homogeneous lists of variable size, but I don't really see when I would use
a hybrid like this. What am I missing?
Olav Junker Kjær
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Es4-discuss