W3C home > Mailing lists > Public > public-script-coord@w3.org > January to March 2014

Re: Removing the concept of "optional any"

From: Brendan Eich <brendan@secure.meer.net>
Date: Wed, 19 Feb 2014 12:54:20 -0800
Message-ID: <530519FC.1010808@secure.meer.net>
To: Domenic Denicola <domenic@domenicdenicola.com>
CC: Jonas Sicking <jonas@sicking.cc>, Boris Zbarsky <bzbarsky@mit.edu>, "Mark S. Miller" <erights@google.com>, "public-script-coord@w3.org" <public-script-coord@w3.org>
Domenic Denicola wrote:
> `arguments.length` is the only way to create such functions, and that will be even less possible in ES6 given the function forms for which `arguments` is not present.

That overstates the situation. As Jonas's examples showed, one can 
always write ...rest and test rest.length.

Received on Wednesday, 19 February 2014 20:54:54 UTC

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