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

Re: Promises "if not omitted" language

From: Anne van Kesteren <annevk@annevk.nl>
Date: Wed, 31 Jul 2013 17:03:26 +0100
Message-ID: <CADnb78ipSjqHyfSX1eEbEAK2Ygb2s0cfU0JEEhK8Pqd69iN0Bg@mail.gmail.com>
To: Juan Ignacio Dopazo <dopazo.juan@gmail.com>
Cc: Domenic Denicola <domenic@domenicdenicola.com>, "public-script-coord@w3.org" <public-script-coord@w3.org>
On Tue, Jul 23, 2013 at 3:55 PM, Juan Ignacio Dopazo
<dopazo.juan@gmail.com> wrote:
> Do you have any thoughts on the IsCallable() change?

We could do an IsCallable check, but that would ignore all kinds of
erroneous values. Is that really what we want? Special casing null is
not desired reportedly. undefined is equal to omitting it. Ugh.


-- 
http://annevankesteren.nl/
Received on Wednesday, 31 July 2013 16:03:52 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:37:50 UTC