if you accept a single argument, of course, but what if you Set(..[1, 2, 1]) then ?
magic add through Set constructor does not sound good to me On Tue, Feb 14, 2012 at 8:27 PM, Peter Michaux <[email protected]>wrote: > On Tue, Feb 14, 2012 at 12:09 AM, Andrea Giammarchi > <[email protected]> wrote: > > thinking about the add behavior, where no duplicated values will be > added, > > this argument may cause some logic headache anyway > > > > Set([1, 2, 1]) what should happen ? > > I think that should be a set with one element. The element is an array > of length three. > > Peter >
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

