Pattern: Use of ,
operator
Issue: -
Bans the comma operator. It can be easily misunderstood or lead to unintended bugs.
For example, in let x = (y = 1, z = 2);
x is equal to 2 - this may not be immediately obvious.
Pattern: Use of ,
operator
Issue: -
Bans the comma operator. It can be easily misunderstood or lead to unintended bugs.
For example, in let x = (y = 1, z = 2);
x is equal to 2 - this may not be immediately obvious.