RaghavBang
Published in

RaghavBang

Most asked JavaScript Interview Questions: Part 1

  1. JavaScript — Singlethread or multithread?
  • JavaScript is always synchronous and single-threaded. If you’re executing a JavaScript block of code on a page, then no other JavaScript on that page will currently be executed.
  • Using Web Workers
  • Object
  • Tree
  • this keyword in javascript always holds the reference to a single object, that defines the current line of code’s execution context. Functions, in JavaScript, are essentially objects. Like objects, they can be assigned to variables, passed to other functions, and returned from functions. And much like objects, they have their own properties. One of these properties is this.
  • https://youtu.be/QCRpVw2KXf8
  • The let keyword
  • The const keyword
  • Arrow Functions
  • The … Operator
  • For/of
  • Map Objects
  • Set Objects
  • Classes
  • Promises
  • Symbol
  • Default Parameters
  • Function Rest Parameter
  • String.includes(), etc.

--

--

Technical blogs, Mini project idea, Coding and updates about new technology

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store