=
and subsequent operator CS-R1113There's a space missing between the =
operator and the subsequent operator. This may unnecessarily complicate your code and make it difficult to comprehend. For example, it is easier to comprehend i = -a
rather than i =- a
. Furthermore, the reader may confuse it with compound operators such as +=
, -=
, *=
, etc. Therefore, it is recommended that you add a space between the =
and the subsequent operator to improve readability.
var i =- a;
var i = -a; // Space inserted between `=` and `-`