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

RE: How to correctly spec sequences requiring an iterable

From: Domenic Denicola <domenic@domenicdenicola.com>
Date: Fri, 15 Nov 2013 17:33:49 +0000
To: Allen Wirfs-Brock <allen@wirfs-brock.com>, Jason Orendorff <jason.orendorff@gmail.com>, Boris Zbarsky <bzbarsky@mit.edu>
CC: "public-script-coord@w3.org" <public-script-coord@w3.org>
Message-ID: <19871b79d97c4e84a47dd3ec1f24df57@BN1PR05MB325.namprd05.prod.outlook.com>
From: Allen Wirfs-Brock <allen@wirfs-brock.com>

> If iteratorGetter is undefined or null then let usingIterator be false; otherwise let usingIterator be true.

Why "or null"? I would expect one of these two alternatives:

1. undefined => usingIterator = false; otherwise, true
2. callable => usingIterator = true; otherwise, false
Received on Friday, 15 November 2013 17:34:18 UTC

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