W3C home > Mailing lists > Public > whatwg@whatwg.org > September 2005

[whatwg] Re: getElementsByClassName

From: Aankhen <aankhen@gmail.com>
Date: Mon, 5 Sep 2005 22:58:32 +0530
Message-ID: <ae697d0505090510281f263171@mail.gmail.com>
On 9/5/05, Ian Hickson <ian at hixie.ch> wrote:
> > If multiple class names really need to be handled, my suggestion would
> > be to take a single array as a parameter, e.g.
> > `getElementsByClassName(["foo"])` and `getElementsByClassName(["foo",
> > "bar"])`.
> 
> What is the problem with allowing multiple arguments in JS?

One of the earlier messages said something which I basically
interpreted as "variable arguments = bad", so I suggested an
alternative.  If it were up to me, I'd just use them. :-)

Aankhen
Received on Monday, 5 September 2005 10:28:32 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:24 UTC