The array literal notation [] is preferrable

Viewed 490

I'm reading this article and I'm not understanding it.

http://linterrors.com/js/the-array-literal-notation-is-preferrable

It then says: "This error is raised to highlight a potentially dangerous and unnecessarily verbose piece of code."

I don't get it. If I would be overriding the constructor, it would be me doing the overriding, so how is this a dangerous thing?

0 Answers
Related