This is a very simple question. When adding elements to the end of a JavaScript array, do either of these forms have a speed or other optimization benefit over the other? Or does it not really matter, other than style?
(1) pageData[pageData.length] = theMember;
(2) pageData.push(theMember);