This JavaScript question (Does JavaScript have "Short-circuit" evaluation?) was closed as a duplicate, with the following questions as dupe-targets:
- Using &&'s short-circuiting as an if statement?
- Does javascript use optimization in boolean expressions?
Now I found the answers there to be somewhat lacking in terms of depth and have written an extensive and detailed answer regarding short-circuiting in javascript including an extensive definition and look 'under the hood', plus some common gotchas. Obviously, purely subjectively speaking, I think an answer of good quality which would be a good contribution.
Issue is, the questions, which the original question is considered a duplicate to are in the first case specifically asking only about &&
operator and in the second case I would argue the question is much broader and of much lesser quality.
Further reasoning would be the very definition of the question, which reflects on the question popularity. The closed question has a clear title, defining the subject matter the question is about, meanwhile the two 'duplicates' are only tackling a specific issue.
Further supported by the views, where the closed question has 37k views, meanwhile the two duplicates have only 8k and 1k views.
Now AFAIK, the goal of Stack Overflow is to provide the best answers to the best possible questions.
- My answer is specifically answering the question which is closed and treated as duplicate (which it isn't)
- The "closed" question is exponentially more popular than the two questions that are being linked to (and hence won't be viewed by as many people) and for a good reason (check point 3)
- The question is not even really a duplicate. The subject matter is similar, but the question is tackling short-circuiting as in whole, meanwhile the two other questions are just specifically asking about one of the concepts in the subject matter.
Given this reasoning, could the question be reopened please (also would be nice if my 4 hours of effort didn't go to waste)