When pondering questions like “Should I use typeof or instanceof here?” steer clear of the dated W3Schools site (which, regrettably, tends to be favored by Google searches). Instead, head to the Mozilla Developer Network (MDN).[10] The Mozilla Foundation (you may have heard of its browser, Firefox) is headed up by Brendan Eich, the creator of JavaScript. The foundation knows its stuff.
If you can’t find your answer among MDN’s pages, take your question to Stack Overflow.[11] The site has fostered an amazingly helpful developer community, and it’s a safe bet that any coherent question tagged JavaScript will receive a punctual response.
3.138.204.96