The title says it all.
I've just seen someone creating a new array as such:
var container = new Array(+max);
Where max
was an integer. I've tested and it works. I've also tested without the +
symbol and it also works, so why is it there? Is there any specific reason?