Tagged “interview”
-
TIL JS commas evaluate operands javascript interview tricky
The comma operator evaluates each of its operands (from left to right) and returns the value of the last operand. var a=(2,3,4,5,6,7), result is 7.
See all tags.