Supposing the close reason isn't obvious after having read the FAQ, what you did first was probably the most effective in the general case : politely require in comment the first SO user having voted to close to explain what you did wrong.
What you did afterwards, i.e. coming here to ask again (and get attention to your question) can be effective but I would use this trick with care as it can get painful to see so many "Why was my question closed ?" questions.
Now about what you did wrong and how you could have salvaged your quest for help :
Your title is a gigantic fail. Never ask "Where is the doc ?" or similar, as it generally implies a lack of search and the impossibility to answer in a definite manner. You should have titled your question as something more precise, for example "How to interpret the nodeType property of a DOM node created by jsdom ?".
Never ask for a link. Ask for an answer on your specific question.
You could have tried first to edit the question. And after that and after having seriously thought about what failed first, you could have asked a new different question.