edit-article
Home
Up
Delete
Article Name:
Article Description:
] a quora ? asks - how would you judge a JavaScript programmer with only 5 interview questions - here is a compilation of some of the more interesting questions suggested
Chapter ID/Name:
Status:
Write
Writing
Written
Add Photo:
Owner ID:
Content:
use HTML
Edit Content
<h1 style="text-align: center;">javascript interview questions - the top 5</h1> <h2>[WHAT]</h2> <ol> <li>] a quora ? asks - How do you judge a javascript programmer with only 5 questions?</li> </ol> <h2>[WHY]</h2> <ol> <li>] </li> </ol> <h2>[WHERE]</h2> <ol> <li>]</li> </ol> <h2>[WHEN]</h2> <ol> <li>]</li> </ol> <h2>[EXAMPLE]</h2> <ol> <li><strong>] from the top answer by </strong><span id="ld_hedwhr_8777"><a id="__w2_ihYcVEo_link" class="user hover" href="http://www.quora.com/Mattias-Petter-Johansson" target="_blank">Mattias Petter Johansson</a> (Software Engineer @spotify) with 1K upvotes</span></li> <ol> <li>] Can you explain the difference between <em>call</em> and <em>apply </em>to me<em>? </em></li> <ol> <li><em>call passes a single argument, apply passess an arrary of arguements </em></li> </ol> <li>] Can you explain <em>map </em>to me<em>? </em></li> <ol> <li><em>iterates over a collection, </em></li> </ol> <li><em>] </em>Can you explain <em>bind </em>to me<em>?</em></li> <ol> <li><em>method that returns a functions, sets the context of this,</em></li> </ol> <li>] Can you explain how <strong><em>closures</em></strong> work to me<em>?</em></li> <ol> <li><em>inner functions(functions within a function) </em></li> </ol> <li>] Can you please tell me a story about a JavaScript performance problem that you've encountered and how you approached solving it?</li> </ol> <li><strong>] compiled</strong></li> <ol> <li>] closures</li> <li>] call apply</li> <li>] prototypes</li> <li>]</li> </ol></ol> <h2>[HOW-TO]</h2> <ol> <li>]</li> </ol> <h2>[REFERENCE]</h2> <ol> <li>] <a href="http://www.quora.com/How-do-you-judge-a-JavaScript-programmer-by-only-5-questions" target="_blank">http://www.quora.com/How-do-you-judge-a-JavaScript-programmer-by-only-5-questions</a></li> <li>]</li> </ol> <p> </p> <p>--</p> <p>What's your understanding of event loop?</p> <p>What are the differences between HTTP GET and POST?</p> <p>What's your understanding of MV* frameworks?</p> <p>How do you like TypeScript and what do you think we may gain from a static type system?</p> <p>Are you familiar with regular expression? If so, please write one that matches string literals.</p> <p>-- 9</p> <hr /> <p> What are the differences between the OOP in "that" language and the OOP in Javascript?</p> <p>Discuss about Design Patten in Javascript</p> <p>Have you ever used or listened about Javascript build tools</p> <p>Have you ever used a javascript testing framework</p> <p>> Tell me your Javascript Naming Convention</p> <p>-- 24</p> <hr /> <p>What are the standard objects available with core JavaScript?</p> <p>Explain Function and Object, and tell me how you might use them in building a multitier application</p> <p>Explain <strong>prototypal inheritance</strong>, and provide a comparison and contrast to classical inheritance, and how you might take advantage of the former.</p> <p>Explain <strong>closures</strong> and scope, how they're related, and how they might compare to other languages with similar features.</p> <p>Provide a comparison and contrast between <strong>apply, call, and bind</strong>, and when/where you might use one over the others.</p> <p>-- 12</p> <hr /> <p>Do you write vanilla JS or which is your preferred library?</p> <p>Explain the <strong>prototype</strong> object to me.</p> <p>How do you feel about modifying a native prototype?</p> <p>How do<strong> closures</strong> work?</p> <p>> What do you do to write readable, maintainable code?</p> <p>-- 13</p> <hr /> <p> In other words, to judge JS programmers by only 5 questions, ask them to choose those 5 questions themselves.</p> <p>-- 19 by Lim Hoang</p> <hr /> <p><strong>Context</strong></p> <p><strong>Prototyping</strong></p> <p><strong>Closures</strong></p> <p>Synchronicity/Asynchronicity</p> <p> Code layering<br /><br /></p> <p>-- 9 by John David Keivlan</p> <hr /> <p>Explain <strong>closures</strong> and scope rules.</p> <p>Explain why "self" is needed instead of "this".</p> <p>Explain how to write class methods vs instance methods.</p> <p>Explain some/any class derivation techniques.</p> <p>Explain some/all of the methods of "Object" (Object.create, Object.defineproperty, Object.prototype).</p> <p>-- 17 by Jason Loveman</p> <hr /> <div id="__w2_gVq4lmU_answer_content"> <div id="ld_miowbj_442"> <div id="__w2_DKOBGRu_expanded" class="ExpandedAnswerInFeed ExpandedQText QuotableExpandedAnswer ExpandedAnswer"> <div id="__w2_HLX6jMN_outer"> <div id="__w2_HLX6jMN_container">Simple answer is you can't, there are no set of questions that can accurately gauge the level of competency a developer has at doing his job. I didn't know map existed until a week ago, took like 1 minute to skim the docs and 100% understand HOW IT WORKS AND HOW TO USE IT .......</div> <div>-- 9 by <span id="__w2_gCdoDmI_answer_user_sig" class="feed_item_answer_user"><span id="ld_miowbj_446"><a id="__w2_IhsqkFe_link" class="user" href="http://www.quora.com/Mohammed-Siddeeq" target="_blank">Mohammed Siddeeq</a></span></span></div> </div> </div> </div> </div>