> I was surprised seeing that array copying is done as > "b = merge( a, [] )" in place of "b = a.concat();": > shouldn't the latter be faster?
The problem with .concat() is that "a" is not always an array. It is often a NodeList returned from getElementsByTagName() or childNodes. You might think that Array.concat.apply(a) would work but not in IE. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/