W3C home > Mailing lists > Public > public-script-coord@w3.org > October to December 2013

Re: How to correctly spec sequences requiring an iterable

From: Joshua Bell <jsbell@google.com>
Date: Tue, 19 Nov 2013 11:50:44 -0800
Message-ID: <CAD649j7XLFHqoPZV9KqKtVOB2EGK94Ee1zMBczMe-vYiUO_nAQ@mail.gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: Boris Zbarsky <bzbarsky@mit.edu>, "public-script-coord@w3.org" <public-script-coord@w3.org>
On Mon, Nov 18, 2013 at 10:50 AM, Tab Atkins Jr. <jackalmage@gmail.com>wrote:

>  As long as I can do "foo(String(str))" to get it to
> iterate over the characters when I need to, I'm fine with this.

Nit: You'd want "foo(new String(str))" to make it an object and pass step 1
of the proposal and get you iteration of characters in the overload case.
Received on Tuesday, 19 November 2013 19:51:11 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:19 UTC