Support to query arguments.length was only introduced in IE 5.5. To support it in versions prior to v5.5, this code will set the arguments.length property for you.
Code:
if (typeof(arguments.length) == 'undefined') {
var argCount = 0;
while (typeof(arguments[argCount]) != 'undefined') argCount++;
arguments.length = argCount;
}
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.