Your suggestion breaks Array.from and TypedArrayFrom. /be
Gary Guo wrote: > I suggest we can a little bit combine these steps: > > >CheckIterable (obj) > >1. Let box be ToObject(obj). > >2. ReturnIfAbrupt(box). > >3. Return the result of calling the [[Get]] internal method of box > passing @@iterator and obj as the arguments. > > If obj is `undefined` or `null`, the first step will fail and throw > TypeError. If obj is primitive, it's boxed. If obj is an object, it is > no-op in ToObject. _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

