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

Re: How to correctly spec sequences requiring an iterable

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 15 Nov 2013 13:31:39 -0500
Message-ID: <5286688B.9050803@mit.edu>
To: Allen Wirfs-Brock <allen@wirfs-brock.com>, Domenic Denicola <domenic@domenicdenicola.com>
CC: Jason Orendorff <jason.orendorff@gmail.com>, "public-script-coord@w3.org" <public-script-coord@w3.org>
On 11/15/13 1:28 PM, Allen Wirfs-Brock wrote:
> Primitive string values behave as objects that inherit from String.prototype

Unless you happen to peek with typeof...  Which doesn't seem obviously 
verboten in union types; again current JS libraries do this all the time.

Received on Friday, 15 November 2013 18:32:09 UTC

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