I know that var some = []; creates a new array and var someother = {} creates a new object. So what does the () do?
Specifically, in the following code :
var someVar = (1,2,3); //someVar equals 3
and
typeof (1,2,3) //returns "number"
So what does the () do in the above code?