[whatwg] getElementsByClassName()

Ian Hickson ian at hixie.ch
Mon Oct 23 15:05:21 PDT 2006


On Mon, 23 Oct 2006, Dean Edwards wrote:
> 
> Personally, I prefer a comma delimited list. Passing an array seems 
> yukky.

Really? I always thought the comma-separated argument to window.open() was 
one of the ugliest APIs ever...


> Are there any problems with passing a JavaScript array to a DOM method? 
> Does it cast to a DOMArray or something? What about other platforms?

It's an array. Most languages support arrays. Why would there be a 
problem?

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list