- From: Boris Zbarsky <bzbarsky@MIT.EDU>
- Date: Fri, 15 Nov 2013 13:07:34 -0500
- To: Allen Wirfs-Brock <allen@wirfs-brock.com>
- CC: Jason Orendorff <jason.orendorff@gmail.com>, public-script-coord@w3.org
On 11/15/13 12:55 PM, Allen Wirfs-Brock wrote: > Now, that's an interesting question. > > "thisIsAPrimitiveString"[Symbol.interator] > > Returns the value of > String.prototype[@@iterator] Sure; the question is whether I check whether I have an object first. Note that I've seen people wanting to overload "DOMString or sequence<DOMString>" and current JS libraries commonly support that (via typeof tests). -Boris
Received on Friday, 15 November 2013 18:08:03 UTC