Posts by Daniel Mascena • 1 point
1 post
-
0
votes6
answers18641
viewsA: What is the difference between declaring an array with "array()" and "[]" in Javascript?
Syntactic sugar only. Using "[]" is the literal form of instantiation via constructor function (Array).