I found out today that Array.splice works slightly differently on IE than it does on other browsers. The second parameter to splice is the howMany to splice off the array. If this isn't set in Internet Explorer then the splice command returns an empty string and leaves the array unchanged. Chrome and Firefox splice off the remaining array. It wasn't what I expected in IE but hopefully I'll remember this little quirk next time I use splice.