I was looking at a useful answer and found a minor ternary operator syntax error which I suggested an edit for:
// Error: Uncaught SyntaxError: Unexpected token :
num = typeof(num) == 'number' && num % 1 === 0 : num : 0;
^
// Fix:
num = typeof(num) == 'number' && num % 1 === 0 ? num : 0;
Of course, edits must be at least 6 characters, so I had to do some minor format changes. (like adding <!-- language: lang-js -->
or <!-- language: lang-none -->
)
But my edit was immediately rejected by the first reviewer, even though I mentioned in the edit comment:
fix syntax error for num ternary operator
So it left me wondering, do minor syntax error edit suggestions get rejected and discouraged?