Today I came across a very popular question with 153,899 views. One of the answers suggested something which I knew was not possible (I was in doubt, but a quick test proved I was right): https://stackoverflow.com/a/9784234
The answer is plain wrong:
- It adds a second parameter to a function that only takes one (this is legal in JavaScript, but the parameter is ignored)
- It suggests the second parameter can be used to specify the format. (again, it does nothing)
- It only works because the sample string in the answer is already in the supported format - which ignores the OP's real problem. Any other string and any custom format will fail.
Normally, I'd add my comment and walk away, but here we have a very popular question, a very bad answer, and the poster is gone (has not been seen since May - which to me suggests he is dead). If that is not bad enough, the answer has 27 upvotes, for a made-up feature.
I can't even edit the answer to correct it - it really has nothing...
What should be done here? Can the answer be deleted?