- From: Boris Zbarsky <notifications@github.com>
- Date: Mon, 06 Jul 2015 06:27:33 -0700
- To: heycam/webidl <webidl@noreply.github.com>
- Message-ID: <heycam/webidl/pull/52/r33933078@github.com>
> </p> > - <div class='note'> > - <p> > - Interfaces using <a class='xattr' href='#ArrayClass'>[ArrayClass]</a> will > - need to define a “length” <a class='dfnref' href='#dfn-attribute'>attribute</a> > - of type <span class='estype'>unsigned long</span> that exposes the length > - of the array-like object, in order for the inherited <span class='estype'>Array</span> > - methods to operate correctly. Such interfaces would typically also > - <a class='dfnref' href='#dfn-support-indexed-properties'>support indexed properties</a>, > - which would provide access to the array elements. > - </p> > - </div> > + <ol class='algorithm'> > + <li>Let <var>values</var> be the result of > + <a class='dfnref' href='#dfn-convert-ecmascript-to-idl-value'>converting</a> Hmm, I guess the point is that we want "create a sequence from iterable" vs "convert to sequence" to in fact avoid doing the is-iterable check twice. OK, so what you have actually makes sense, then; I just misread it initially. --- Reply to this email directly or view it on GitHub: https://github.com/heycam/webidl/pull/52/files#r33933078
Received on Monday, 6 July 2015 13:28:07 UTC