article

javascript interview questions - the top 5

[WHAT]

  1. ] a quora ? asks - How do you judge a javascript programmer with only 5 questions?

[WHY]

[WHERE]

  1. ]

[WHEN]

  1. ]

[EXAMPLE]

  1. ] from the top answer by Mattias Petter Johansson (Software Engineer @spotify) with 1K upvotes
    1. ] Can you explain the difference between call and apply to me?
      1. call passes a single argument, apply passess an arrary of arguements 
    2. ] Can you explain map to me
      1. iterates over a collection,
    3. ] Can you explain bind to me?
      1. method that returns a functions, sets the context of this,
    4. ] Can you explain how closures work to me?
      1. inner functions(functions within a function)
    5. ] Can you please tell me a story about a JavaScript performance problem that you've encountered and how you approached solving it?
  2. ] compiled
    1. ] closures
    2. ] call apply
    3. ] prototypes
    4. ]

[HOW-TO]

  1. ]

[REFERENCE]

  1. http://www.quora.com/How-do-you-judge-a-JavaScript-programmer-by-only-5-questions
  2. ]

 

--

What's your understanding of event loop?

What are the differences between HTTP GET and POST?

What's your understanding of MV* frameworks?

How do you like TypeScript and what do you think we may gain from a static type system?

Are you familiar with regular expression? If so, please write one that matches string literals.

-- 9


 What are the differences between the OOP in "that" language and the OOP in Javascript?

Discuss about Design Patten in Javascript

Have you ever used  or listened about Javascript build tools

Have you ever used a javascript testing framework

> Tell me your Javascript Naming Convention

-- 24


What are the standard objects available with core JavaScript?

Explain Function and Object, and tell me how you might use them in building a multitier application

Explain prototypal inheritance, and provide a comparison and contrast to classical inheritance, and how you might take advantage of the former.

Explain closures and scope, how they're related, and how they might compare to other languages with similar features.

Provide a comparison and contrast between apply, call, and bind, and when/where you might use one over the others.

-- 12


Do you write vanilla JS or which is your preferred library?

Explain the prototype object to me.

How do you feel about modifying a native prototype?

How do closures work?

> What do you do to write readable, maintainable code?

-- 13


 In other words, to judge JS programmers by only 5 questions, ask them to choose those 5 questions themselves.

-- 19 by Lim Hoang


Context

Prototyping

Closures

Synchronicity/Asynchronicity

 Code layering

-- 9 by John David Keivlan


Explain closures and scope rules.

Explain why "self" is needed instead of "this".

Explain how to write class methods vs instance methods.

Explain some/any class derivation techniques.

Explain some/all of the methods of "Object" (Object.create, Object.defineproperty, Object.prototype).

-- 17 by Jason Loveman


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 .......
Details Photos Edit more

Details

ID: 4609

NAME: javascript-interview-questions-top-5

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

AUTHOR: article.author/s

EDITOR: article.editor/s

PUBLISHER: article.publisher/s

STATUS: Write

PRIORITY: 0

OWNER ID: 75

Content Photos Edit more

photos

page_photo

actions

Email Email-Owner SMS and