loading...

re: 10 JavaScript array methods you should know VIEW POST

TOP OF THREAD FULL DISCUSSION
re: I think it's more likely to compare it to the array constructor. According to MDN The difference between Array.of() and the Array constructor is ...
 

He asked about [1, 2, 3, 4, 5, 6] and not Array(7), is it the same?

it is essentially the same, I just pointed out what is a better comparison case with quote from the mdn docs

Code of Conduct Report abuse