re: 10 JavaScript array methods you should know VIEW POST

VIEW PARENT COMMENT VIEW FULL DISCUSSION
 

It's the same, but one is a function whereas the other is a syntactical form. You could have a situation where you pass it as a parameter or in a variable, i.e.


f = Array.of
...
a = f(1,2,3)

code of conduct - report abuse