What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 127 Stack Exchange communities.

A user asked two similar questions in quick succession:

  1. Are method declarations (not definitions) possible in JavaScript?

  2. Is it possible to foward declare a function or method in Javascript?

The first one has an accepted answer already but the second one has better answers (IMO). Are there any guidelines I should use to make decisions in situations like this? I'm currently thinking about voting to close the first one.

share|improve this question
add comment

1 Answer

My general rule of thumb is to dup the later, unless the first has no answers or very poor answers. For this specific situation, I would still probably suggest marking Are method declarations (not definitions) possible in JavaScript? as a duplicate of Is it possible to foward declare a function or method in Javascript?, especially since the question itself in Is it possible to foward declare a function or method in Javascript? appears to be of slightly higher quality. Then comment on the answer in Are method declarations (not definitions) possible in JavaScript? telling him to post his answer to Is it possible to foward declare a function or method in Javascript?.

share|improve this answer
add comment

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .