Skip to content

JavaScript (JS) Cheat Sheet

JavaScript is a dynamic, multi-paradigm programming language, widely used for web development and more. This cheat sheet outlines the path from beginner to advanced JavaScript developer, highlighting key topics and associated keywords.

JS Get Started

Jumpstart your JavaScript journey with these foundational topics.

  • JavaScript basics: Variables, Data Types, Operators
  • First steps in JavaScript: Scripts, Console.log, Alerts
  • Building blocks: Conditionals, Loops, Functions
  • Introduction to objects: Object Literals, Properties, Methods
document.getElementById("demo").innerHTML = "Hello JavaScript";

JS Beginners Guide

Dive deeper into JavaScript with these beginner topics.

  • Introduction: Syntax, Script Tag
  • Grammar and types: Var, Let, Const, Scope
  • Control flow and error handling: If-else, Try-catch
  • Loops and iteration: For, While, Do-while
  • Functions: Function Declaration, Function Expression, Arrow Functions
  • Expressions and operators: Assignment, Comparison, Logical Operators
  • Numbers and dates: Math, Date
  • Text formatting: String Methods, Template Literals
  • Regular expressions: RegExp
  • Indexed collections: Arrays, Typed Arrays
  • Keyed collections: Objects, Maps, Sets
  • Working with objects: Object Methods, Destructuring
  • Using classes: Class Declaration, Constructor, Inheritance
  • Using promises: Promise, Async/Await
  • Iterators and generators: Iterator Protocol, Generator Functions
  • Meta programming: Proxy, Reflect
  • JavaScript modules: Import, Export

JS Intermediate Guide

Elevate your JavaScript skills with these intermediate topics.

  • Client-side JavaScript frameworks: React, Vue, Angular
  • Client-side web APIs: DOM, Fetch API, Canvas API
  • Language overview: ES6+ Features
  • JavaScript data structures: WeakMap, WeakSet
  • Equality comparisons and sameness: ==, ===, Object.is()
  • Enumerability and ownership of properties: Object.keys(), Object.values()
  • Closures: Closure

JS Advanced Guide

Master JavaScript with these advanced topics.

  • Inheritance and the prototype chain: Prototype, __proto__
  • JavaScript typed arrays: ArrayBuffer, DataView
  • Memory Management: Garbage Collection, Memory Leaks
  • Concurrency model and Event Loop: Event Loop, Web Workers

JS References

A comprehensive reference for quick lookups and deeper dives into JavaScript's elements.

  • Built-in objects: Object, Array, Function
  • Expressions & operators: Spread Operator, Destructuring Assignment
  • Statements & declarations: For...of, For...in
  • Functions: Rest Parameters, Default Parameters
  • Classes: Static Methods, Getter/Setter
  • Errors: Throw, Error Object
  • Misc: Template Strings, Modules