Sign in
Log inSign up

Common JS Interview Questions

Jafar Kamar's photo
Jafar Kamar
·Mar 30, 2021·

1 min read

Common JS Interview Questions
  • List all of the data types in JavaScript

  • What is a closure?

  • What are some differences between an arrow function and a normal function?

  • Explain hoisting

  • What's the difference between var, let and const?
  • Explain prototypal inheritance
  • What does function.prototype.bind do?
  • How would you empty an array?
  • What is a promise?
  • What is the event loop?
  • Explain type coercion
  • What's the difference between '==' and '==='?
  • What is array and object destructuring?
  • What are websockets?
  • What are WebWorkers?
Hassle-free blogging platform that developers and teams love.
  • Docs by Hashnode
    New
  • Blogs
  • AI Markdown Editor
  • GraphQL APIs
  • Open source Starter-kit

© Hashnode 2024 — LinearBytes Inc.

Privacy PolicyTermsCode of Conduct