This is a special operator in JavaScript which is called comma operator; so when JavaScript comes across this line
(i<4, i<7, i<5, i<6)
it will evaluate one by one all the operands in the parenthesis and will return the evaluation of the last item i.e. i < 6
It is rarely used; One occasion that I remember to have used it was for indirect call to eval
.
(0, eval)(src)
But again in you example the use of it is redundant.