4 ms·
Thirteen years ago... I would argue that you could use a.push() safely now. So, why should a[a.length] be safer?
by cstuder 13y ago
Thirteen years ago... I would argue that you could use a.push() safely now.
So, why should a[a.length] be safer?
- coldtea 13y agoHe said it already, JUST for the compatibility. No other reason compared to push nowadays.