I read at many tutorials that the current best practices to create a new javascript array is to use
var arr = []
instead of
It might be because the Array object can be overwritten in JavaScript but the array literal notation cannot. See this answer for an example