When is the comma operator useful?
I read this question about the “comma operator” in expressions (,
) and the MDN docs about it, but I can’t think of a scenario where it is useful.
When is the comma operator useful?
I read this question about the “comma operator” in expressions (,
) and the MDN docs about it, but I can’t think of a scenario where it is useful.