Skip to content
Back to search

33-js-concepts

📜 33 JavaScript concepts every developer should know.

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/leonardomso--33-js-concepts/badge.svg)](/listings/leonardomso--33-js-concepts)

HTML

<a href="/listings/leonardomso--33-js-concepts"><img src="/api/listings/leonardomso--33-js-concepts/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 281 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. <h1 align="center">
  2. <br>
  3. <a href="https://github.com/leonardomso/33-js-concepts"><img src="github-image.png" alt="33 Concepts Every JS Developer Should Know"></a>
  4. <br>
  5. <br>
  6. <strong>33 Concepts Every JavaScript Developer Should Know</strong>
  7. <br><br>
  8. </h1>
  9. <p align="center">
  10. <a href="https://33jsconcepts.com">Read the Full Guide</a> •
  11. <a href="#concepts">Concepts</a> •
  12. <a href="TRANSLATIONS.md">Translations</a> •
  13. <a href="CONTRIBUTING.md">Contributing</a>
  14. </p>
  15. <div align="center">
  16. <strong>Recognized by GitHub as one of the <a href="https://github.blog/news-insights/octoverse/new-open-source-projects/#top-projects-of-2018">top open source projects of 2018!</a></strong>
  17. </div>
  18. ---
  19. ## About
  20. This repository helps developers master core JavaScript concepts. Each concept includes clear explanations, practical code examples, and curated resources.
  21. **[Start learning at 33jsconcepts.com →](https://33jsconcepts.com)**
  22. ---
  23. ## Concepts
  24. ### Fundamentals
  25. - **[Primitive Types](https://33jsconcepts.com/concepts/primitive-types)**
  26. Learn JavaScript's 7 primitive types: string, number, bigint, boolean, undefined, null, and symbol. Understand immutability, typeof quirks, and autoboxing.
  27. - **[Primitives vs Objects](https://33jsconcepts.com/concepts/primitives-objects)**
  28. Learn how JavaScript primitives and objects differ in behavior. Understand immutability, call-by-sharing semantics, why mutation works but reassignment doesn't, and how V8 actually stores values.
  29. - **[Type Coercion](https://33jsconcepts.com/concepts/type-coercion)**
  30. Learn JavaScript type coercion and implicit conversion. Understand how values convert to strings, numbers, and booleans, the 8 falsy values, and how to avoid common coercion bugs.
  31. - **[Equality Operators](https://33jsconcepts.com/concepts/equality-operators)**
  32. Learn JavaScript equality operators == vs ===, typeof quirks, and Object.is(). Understand type coercion, why NaN !== NaN, and why typeof null returns 'object'.
  33. - **[Scope and Closures](https://33jsconcepts.com/concepts/scope-and-closures)**
  34. Learn JavaScript scope and closures. Understand the three types of scope, var vs let vs const, lexical scoping, the scope chain, and closure patterns for data privacy.
  35. - **[Call Stack](https://33jsconcepts.com/concepts/call-stack)**
  36. Learn how the JavaScript call stack tracks function execution. Understand stack frames, LIFO ordering, execution contexts, stack overflow errors, and debugging with stack traces.
  37. ### Functions & Execution
  38. - **[Event Loop](https://33jsconcepts.com/concepts/event-loop)**
  39. Learn how the JavaScript event loop handles async code. Understand the call stack, task queue, microtasks, and why Promises always run before setTimeout().
  40. - **[IIFE, Modules & Namespaces](https://33jsconcepts.com/concepts/iife-modules)**
  41. Learn how to organize JavaScript code with IIFEs, namespaces, and ES6 modules. Understand private scope, exports, dynamic imports, and common module mistakes.
  42. ### Web Platform
  43. - **[DOM](https://33jsconcepts.com/concepts/dom)**
  44. Learn how the DOM works in JavaScript. Understand how browsers represent HTML as a tree, select and manipulate elements, traverse nodes, and optimize rendering performance.
  45. - **[Fetch API](https://33jsconcepts.com/concepts/http-fetch)**
  46. Learn how to make HTTP requests with the JavaScript Fetch API. Understand GET, POST, response handling, JSON parsing, error patterns, and AbortController for cancellation.
  47. - **[Web Workers](https://33jsconcepts.com/concepts/web-workers)**
  48. Learn Web Workers in JavaScript for running code in background threads. Understand postMessage, Dedicated and Shared Workers, and transferable objects.
  49. ### Object-Oriented JavaScript
  50. - **[Factories and Classes](https://33jsconcepts.com/concepts/factories-classes)**
  51. Learn JavaScript factory functions and ES6 classes. Understand constructors, prototypes, private fields, inheritance, and when to use each pattern.
  52. - **[this, call, apply, bind](https://33jsconcepts.com/concepts/this-call-apply-bind)**
  53. Learn how JavaScript's 'this' keyword works and how to control context binding. Understand the 5 binding rules, call/apply/bind methods, arrow functions, and common pitfalls.
  54. - **[Object Creation & Prototypes](https://33jsconcepts.com/concepts/object-creation-prototypes)**
  55. Learn JavaScript's prototype chain and object creation. Understand how inheritance works, the new operator's 4 steps, Object.create(), Object.assign(), and prototype methods.
  56. - **[Inheritance & Polymorphism](https://33jsconcepts.com/concepts/inheritance-polymorphism)**
  57. Learn inheritance and polymorphism in JavaScript — extending classes, prototype chains, method overriding, and code reuse patterns.
  58. ### Async JavaScript
  59. - **[Callbacks](https://33jsconcepts.com/concepts/callbacks)**
  60. Learn JavaScript callbacks, functions passed to other functions to be called later. Understand sync vs async callbacks, error-first patterns, callback hell, and why Promises were invented.
  61. - **[Promises](https://33jsconcepts.com/concepts/promises)**
  62. Learn JavaScript Promises for handling async operations. Understand how to create, chain, and combine Promises, handle errors properly, and avoid common pitfalls.
  63. - **[async/await](https://33jsconcepts.com/concepts/async-await)**
  64. Learn async/await in JavaScript. Syntactic sugar over Promises that makes async code readable. Covers error handling with try/catch, parallel execution with Promise.all, and common pitfalls.
  65. - **[Generators & Iterators](https://33jsconcepts.com/concepts/generators-iterators)**
  66. Learn JavaScript generators and iterators. Understand yield, the iteration protocol, lazy evaluation, infinite sequences, and async generators with for await...of.
  67. ### Functional Programming
  68. - **[Higher-Order Functions](https://33jsconcepts.com/concepts/higher-order-functions)**
  69. Learn higher-order functions in JavaScript. Understand functions that accept or return other functions, create reusable abstractions, and write cleaner code.
  70. - **[Pure Functions](https://33jsconcepts.com/concepts/pure-functions)**
  71. Learn pure functions in JavaScript. Understand the two rules of purity, avoid side effects, and write testable, predictable code with immutable patterns.
  72. - **[map, reduce, filter](https://33jsconcepts.com/concepts/map-reduce-filter)**
  73. Learn map, reduce, and filter in JavaScript. Transform, filter, and combine arrays without mutation. Includes method chaining and common pitfalls.
  74. - **[Recursion](https://33jsconcepts.com/concepts/recursion)**
  75. Learn recursion in JavaScript. Understand base cases, recursive calls, the call stack, and patterns like factorial, tree traversal, and memoization.
  76. - **[Currying & Composition](https://33jsconcepts.com/concepts/currying-composition)**
  77. Learn currying and function composition in JavaScript. Build reusable functions from simple pieces using curry, compose, and pipe for cleaner, modular code.
  78. ### Advanced Topics
  79. - **[JavaScript Engines](https://33jsconcepts.com/concepts/javascript-engines)**
  80. Learn how JavaScript engines work. Understand V8's architecture, parsing, compilation, JIT optimization, hidden classes, inline caching, and garbage collection.
  81. - **[Error Handling](https://33jsconcepts.com/concepts/error-handling)**
  82. Learn JavaScript error handling with try/catch/finally. Understand Error types, custom errors, async error patterns, and best practices for robust code.
  83. - **[Regular Expressions](https://33jsconcepts.com/concepts/regular-expressions)**
  84. Learn regular expressions in JavaScript. Covers pattern syntax, character classes, quantifiers, flags, capturing groups, and methods like test, match, and replace.
  85. - **[Modern JS Syntax](https://33jsconcepts.com/concepts/modern-js-syntax)**
  86. Learn modern JavaScript ES6+ syntax. Covers destructuring, spread/rest operators, arrow functions, optional chaining, nullish coalescing, and template literals.
  87. - **[ES Modules](https://33jsconcepts.com/concepts/es-modules)**
  88. Learn ES Modules in JavaScript. Understand import/export syntax, why ESM beats CommonJS, live bindings, dynamic imports, top-level await, and how modules enable tree-shaking.
  89. - **[Data Structures](https://33jsconcepts.com/concepts/data-structures)**
  90. Learn JavaScript data structures from built-in Arrays, Objects, Maps, and Sets to implementing Stacks, Queues, and Linked Lists. Understand when to use each structure.
  91. - **[Algorithms & Big O](https://33jsconcepts.com/concepts/algorithms-big-o)**
  92. Learn Big O notation and algorithms in JavaScript. Understand time complexity, implement searching and sorting algorithms, and recognize common interview patterns.
  93. - **[Design Patterns](https://33jsconcepts.com/concepts/design-patterns)**
  94. Learn JavaScript design patterns like Module, Singleton, Observer, Factory, Proxy, and Decorator. Understand when to use each pattern and avoid common pitfalls.
  95. - **[Clean Code](https://33jsconcepts.com/concepts/clean-code)**
  96. Learn clean code principles for JavaScript. Covers meaningful naming, small functions, DRY, avoiding side effects, and best practices to write maintainable code.
  97. ---
  98. ## Beyond 33: Extended Concepts
  99. Ready to go deeper? These advanced topics build on the fundamentals above.
  100. ### Language Mechanics
  101. - **[Hoisting](https://33jsconcepts.com/concepts/hoisting)**
  102. Learn how JavaScript hoists variable and function declarations. Understand why `var` behaves differently from `let` and `const`, function hoisting order, and how to avoid common bugs.
  103. - **[Temporal Dead Zone](https://33jsconcepts.com/concepts/temporal-dead-zone)**
  104. Learn the Temporal Dead Zone (TDZ) in JavaScript. Understand why accessing `let` and `const` before declaration throws errors, and how TDZ differs from `var` hoisting.
  105. - **[Strict Mode](https://33jsconcepts.com/concepts/strict-mode)**
  106. Learn JavaScript strict mode and how `'use strict'` catches common mistakes. Understand silent errors it prevents, forbidden syntax, and when to use it.
  107. ### Type System
  108. - **[JavaScript Type Nuances](https://33jsconcepts.com/concepts/javascript-type-nuances)**
  109. Learn advanced JavaScript type behavior. Understand null vs undefined, short-circuit evaluation, typeof quirks, instanceof and Symbol.hasInstance, Symbols, and BigInt for large numbers.
  110. ### Objects & Properties
  111. - **[Property Descriptors](https://33jsconcepts.com/concepts/property-descriptors)**
  112. Learn JavaScript property descriptors. Understand writable, enumerable, and configurable attributes, Object.defineProperty(), and how to create immutable object properties.
  113. - **[Getters & Setters](https://33jsconcepts.com/concepts/getters-setters)**
  114. Learn JavaScript getters and setters. Understand how to define computed properties with `get` and `set`, validate data on assignment, and create reactive object behavior.
  115. - **[Object Methods](https://33jsconcepts.com/concepts/object-methods)**
  116. Learn essential JavaScript Object methods. Master Object.keys(), Object.values(), Object.entries(), Object.fromEntries(), Object.freeze(), Object.seal(), and object cloning patterns.
  117. - **[Proxy & Reflect](https://33jsconcepts.com/concepts/proxy-reflect)**
  118. Learn JavaScript Proxy and Reflect APIs. Understand how to intercept object operations, create reactive systems, implement validation, and build powerful metaprogramming patterns.
  119. - **[WeakMap & WeakSet](https://33jsconcepts.com/concepts/weakmap-weakset)**
  120. Learn JavaScript WeakMap and WeakSet. Understand weak references, automatic garbage collection, private data patterns, and when to use them over Map and Set.
  121. ### Memory & Performance
  122. - **[Memory Management](https://33jsconcepts.com/concepts/memory-management)**
  123. Learn JavaScript memory management. Understand the memory lifecycle, stack vs heap allocation, memory leaks, and how to profile memory usage in DevTools.
  124. - **[Garbage Collection](https://33jsconcepts.com/concepts/garbage-collection)**
  125. Learn how JavaScript garbage collection works. Understand mark-and-sweep, reference counting, generational GC, and how to write memory-efficient code.
  126. - **[Debouncing & Throttling](https://33jsconcepts.com/concepts/debouncing-throttling)**
  127. Learn debouncing and throttling in JavaScript. Understand how to optimize event handlers, reduce API calls, improve scroll performance, and implement both patterns from scratch.
  128. - **[Memoization](https://33jsconcepts.com/concepts/memoization)**
  129. Learn memoization in JavaScript. Understand how to cache function results, optimize expensive computations, implement memoization patterns, and when caching hurts performance.
  130. ### Modern Syntax & Operators
  131. - **[Tagged Template Literals](https://33jsconcepts.com/concepts/tagged-template-literals)**
  132. Learn JavaScript tagged template literals. Understand how to create custom string processing functions, build DSLs, sanitize HTML, and use popular libraries like styled-components.
  133. - **[Computed Property Names](https://33jsconcepts.com/concepts/computed-property-names)**
  134. Learn JavaScript computed property names. Understand how to use dynamic keys in object literals, create objects from variables, and leverage Symbol keys.
  135. ### Browser Storage
  136. - **[localStorage & sessionStorage](https://33jsconcepts.com/concepts/localstorage-sessionstorage)**
  137. Learn Web Storage APIs in JavaScript. Understand localStorage vs sessionStorage, storage limits, JSON serialization, storage events, and security considerations.
  138. - **[IndexedDB](https://33jsconcepts.com/concepts/indexeddb)**
  139. Learn IndexedDB for client-side storage in JavaScript. Understand how to store large amounts of structured data, create indexes, perform transactions, and handle versioning.
  140. - **[Cookies](https://33jsconcepts.com/concepts/cookies)**
  141. Learn JavaScript cookies. Understand how to read, write, and delete cookies, cookie attributes like HttpOnly and SameSite, security best practices, and when to use cookies vs Web Storage.
  142. ### Events
  143. - **[Event Bubbling & Capturing](https://33jsconcepts.com/concepts/event-bubbling-capturing)**
  144. Learn JavaScript event bubbling and capturing. Understand the three phases of event propagation, stopPropagation(), event flow direction, and when to use each phase.
  145. - **[Event Delegation](https://33jsconcepts.com/concepts/event-delegation)**
  146. Learn event delegation in JavaScript. Understand how to handle events efficiently using bubbling, manage dynamic elements, reduce memory usage, and implement common delegation patterns.
  147. - **[Custom Events](https://33jsconcepts.com/concepts/custom-events)**
  148. Learn JavaScript custom events. Understand how to create, dispatch, and listen for CustomEvent, pass data between components, and build decoupled event-driven architectures.
  149. ### Observer APIs
  150. - **[Intersection Observer](https://33jsconcepts.com/concepts/intersection-observer)**
  151. Learn the Intersection Observer API. Understand how to detect element visibility, implement lazy loading, infinite scroll, and animate elements on scroll efficiently.
  152. - **[Mutation Observer](https://33jsconcepts.com/concepts/mutation-observer)**
  153. Learn the Mutation Observer API. Understand how to watch DOM changes, detect attribute modifications, observe child elements, and replace deprecated mutation events.
  154. - **[Resize Observer](https://33jsconcepts.com/concepts/resize-observer)**
  155. Learn the Resize Observer API. Understand how to respond to element size changes, build responsive components, and replace inefficient window resize listeners.
  156. - **[Performance Observer](https://33jsconcepts.com/concepts/performance-observer)**
  157. Learn the Performance Observer API. Understand how to measure page performance, track Long Tasks, monitor layout shifts, and collect Core Web Vitals metrics.
  158. ### Data Handling
  159. - **[JSON Deep Dive](https://33jsconcepts.com/concepts/json-deep-dive)**
  160. Learn advanced JSON in JavaScript. Understand JSON.stringify() replacers, JSON.parse() revivers, handling circular references, BigInt serialization, and custom toJSON methods.
  161. - **[Typed Arrays & ArrayBuffers](https://33jsconcepts.com/concepts/typed-arrays-arraybuffers)**
  162. Learn JavaScript Typed Arrays and ArrayBuffers. Understand binary data handling, DataView, working with WebGL, file processing, and network protocol implementation.
  163. - **[Blob & File API](https://33jsconcepts.com/concepts/blob-file-api)**
  164. Learn JavaScript Blob and File APIs. Understand how to create, read, and manipulate binary data, handle file uploads, generate downloads, and work with FileReader.
  165. - **[requestAnimationFrame](https://33jsconcepts.com/concepts/requestanimationframe)**
  166. Learn requestAnimationFrame in JavaScript. Understand how to create smooth 60fps animations, sync with browser repaint cycles, and optimize animation performance.
  167. ---
  168. ## Translations
  169. This project has been translated into 40+ languages by our amazing community!
  170. **[View all translations →](TRANSLATIONS.md)**
  171. ---
  172. ## Contributing
  173. We welcome contributions! See our [Contributing Guidelines](CONTRIBUTING.md) for details.
  174. ---
  175. ## License
  176. MIT © [Leonardo Maldonado](https://github.com/leonardomso)
  177. ---
  178. <div align="center">
  179. <strong>If you find this helpful, please star the repo!</strong>
  180. </div>

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.