How does SO handle Questions that are centered on obvious Syntax or Logical Errors usually by the asker?
Though some of these questions can be useful if they are common beginner mistakes or stem from a widely misunderstood concept.
But I'm talking of the obvious mistakes like - omitting a closing brace. - using undeclared and undefined variables.
Sometimes, these errors get pointed at in the comments section and are resolved under 5mins tops. For instance see this (onclick creating new javascript object every time).
So, what does SO do or advise users to do. - Does SO close or clean up these questions? - Does SO advise users to close or remove these questions. - If these questions do add to the body of knowledge (for instance identifying common programmers' mistake), how does SO determine that? Does SO recommend flagging such question? - Is there any other way SO handles this or advises users to handle it.
UPDATE
This is no duplicate of this (Are typos always off-topic as Q&A?). I've gone through it. Here, the asker even obliges to delete the question. Mine is a more general case. Sometimes, the asker is adamant (even after the error is pointed out in comments) and the question keeps getting answers. See this for example (TypeError: Cannot read property of value between two getJSON functions). Sadly, I was unguided and I answered the question with a deserving down vote :).
So, my question is in order to help users (asker and answerer) take decisive steps on such questions. I'm not considering only whether to flag or not. I want a more general and complete guide (including flagging) for asker and answerer.