W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2006

[whatwg] getElementsByClassName()

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 23 Oct 2006 23:39:51 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0610232339050.1629@dhalsim.dreamhost.com>
On Tue, 24 Oct 2006, Joao Eiras wrote:
>
> The question is.. is there really the need for the array ? Most bindings 
> support variable arguments.

The initial proposal used varargs, but people pointed out that that made 
it difficult to call the method with an arbitrary number of arguments, 
which is why it now takes an array.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 23 October 2006 16:39:51 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:49 UTC