Possible Duplicate:
The purpose of the comma operator in javascript (x, x1, x2, …, xn)
In Javascript (5, 2) gives 2, ('a', 'b', 'c') gives 'c' etc. (just try it out in the console).
My questions concerning that:
- Is there a reason for that “feature”?
- In which cases may it be useful?
You are looking at the comma operator.