DEV Community

Cover image for How to Hire a Good JavaScript Developer.
Ankur Tyagi
Ankur Tyagi

Posted on • Updated on • Originally published at

How to Hire a Good JavaScript Developer.

How to Hire a Good JavaScript Developer...

As with any technology, there’s knowing JavaScript and then there’s really knowing JavaScript.

Let me share a couple of proven & effective techniques and questions for finding true masters of the language.


These sample questions are intended merely as a guide.


Not every candidate worth hiring will be able to properly answer them all, nor does answering them all guarantee a candidate.

At the end of the day, hiring remains as much of an art as it does a science.

JavaScript is in the world of tech today has become fundamental.

Hiring a well-qualified and talented JavaScript developer can be a problem.

During the interview, it’s important to test the knowledge of a candidate.

JS developer skill set that every specialist should have.

  • Problem-solving.
  • Creativity.
  • Work in a team.
  • Follow trends.

Q1: Describe inheritance and the prototype chain in JavaScript.

Here’s a simple example:


Q2: Consider the code snippet below (source).

What will the alert display?

Explain your answer.


Q3: Explain closures in JavaScript.

  • What are they?
  • What are some of their unique features?
  • How and why might you want to use them?
  • Provide an example.

Q4: Is there ever any practical difference between defining a function as a function expression

e.g.., var foo = function(){}


As a function statement

e.g., function foo(){}

Explain your answer.

Q5: How can JavaScript be used to improve accessibility on the web?

Q6: What does 'use strict' mean at the top of a block of code?

Q7: What does the term 'hoisting' mean in reference to JavaScript?

Q8: What is the difference between == and ===?

Between != and !==?

Give an example?

In the end,

Good soft skills are also important because they allow candidates to be effective in the workplace.

  • Conflict management
  • Creativity
  • Decision making
  • Teamwork
  • Response to specific actions

If you’re a beginner at JavaScript and want to learn JavaScript e2e concepts, here’s a great course by Robin aka WellPaidGeek who is coding for 20+ years.

I highly recommend buying this course.

Here is the link if someone is interested.

Thanks for reading guys...

I'm writing threads to help you to become a better software engineer (developer)...

"Don't miss out" Follow your mentor TheAnkurTyagi

I shared top questions last year in this blog link as well.

If you would like to discuss more in detail with me 1-1, you can hire me on HireTheAuthor.

Book 1-1 Call or Chat Subscription


Top comments (3)

shinigami92 profile image
Shinigami • Edited

Why should most of these questions be asked in the first place?

I would strongly recommend using TypeScript, and that will prevent at least some of these examples.

I would like to be tested with more real / daily work examples instead of these extreme cases, some of which I have never seen in my last 4 years in the JS industry ...

At least Q4, Q5, Q6 and Q8 are okayish questions

yanaclrd profile image
yanaclrd • Edited

Great! Thank you for this recommendations, I think these questions help to hire javascript programmer and choose the best.

victoria_mostova profile image
Victoria Mostova

Hi Ankur! Hiring a skilled JavaScript developer is crucial for building robust web applications. Thank you for the useful insights and practical tips on how to hire a JavaScript developer who possesses the necessary expertise and experience to meet your project requirements. For those looking to hire JavaScript developer, this article is a must-read.