Relative Content

Tag Archive for javascriptcomma-operator

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.