News for hackers. Stuff that matters.
Re:A Reintroduction to JavaScript by cstuder on Monday February 03, 2014 @07:43AM (#7170321)
Thirteen years ago... I would argue that you could use a.push() safely now.

So, why should a[a.length] be safer?

Re:A Reintroduction to JavaScript by coldtea on Monday February 03, 2014 @10:52AM (#7171230)
He said it already, JUST for the compatibility. No other reason compared to push nowadays.