← All tutorials

Skill Zuno · skillzunos.com · Fullstack

JavaScript tutorial

Learn JavaScript on Skill Zuno. This JavaScript tutorial covers New, Easy, Medium, Hard, and Diff levels so you can study practical JavaScript problems on skillzunos.com.

Open JavaScript on Skill Zuno

Also see the JavaScript interview questions.

JavaScript is the language of the web browser and, through Node.js, of many servers. It is dynamically typed, single-threaded and event-driven, with first-class functions and prototype-based objects. JavaScript interviews dig into closures, this binding, the event loop, promises and the quirks of type coercion.

JavaScript topics covered

  • var, let and const: scope, hoisting and the temporal dead zone — Why var leaks out of blocks, and why reading a let before its declaration throws a ReferenceError.
  • Closures and lexical scope — How inner functions remember outer variables, used for private state, factories and memoisation.
  • How this is bound: call, apply, bind and arrow functions — The four binding rules for this, and why arrow functions take this from where they are written.
  • Prototypes, classes and inheritance — How objects inherit through the prototype chain, and how class syntax maps onto it.
  • The event loop: call stack, microtasks and macrotasks — Why promise callbacks run before setTimeout callbacks, traced step by step through the queues.
  • Promises, async/await and error handling — Chaining, Promise.all, allSettled and race, and catching errors cleanly with try/catch in async functions.
  • Equality, type coercion and truthy/falsy values — How == converts types, which values are falsy, and why === is the safer default.
  • Array methods: map, filter, reduce and immutability — Transforming data without mutating it, and when reduce is clearer than a loop and when it is not.

What you can learn

  • JavaScript tutorial for beginners and experienced developers
  • Level-based practice: New, Easy, Medium, Hard, and Diff
  • Fullstack topics alongside JavaScript on skillzunos.com

More Fullstack tutorials

All tutorials