I corrected some wrong code in this answer and the edit was rejected almost instantly. Could anyone explain why?
You have edited code in an answer.
Your changes include adding a space character (
function (e) instead of
You should refrain from editing code to have it conform to your own coding style. Such edits will be summarily rejected most of the time. That's the answerer's code, not yours: except for obvious typos, leave it as it is.
Editing someone's incorrect code is not a good practice. If you think the answer has some issues, you can comment on the answer. If the author don't reply you, you can downvote the answer and add your own answer with valid code. So reviewers mostly reject such edits.