A comprehensive collection of JavaScript essentials, designed to help developers quickly reference syntax, methods, and best practices. This cheat sheet covers everything from basic concepts to advanced features.
โก๏ธ View Full Documentation
The documentation has been modularized into a well-organized structure. Use the link above to access the complete index with all topics.
- General - Strict Mode
- ECMAScript - Version Information
- Scope - Variable Scope & Context
- Math - Mathematical Operations
- Operators - All JavaScript Operators
- Constructors - Set() and other constructors
- String - String Methods & Manipulation
- Object - Object Methods, Accessors, Mutability
- Array - Array Methods & Operations
- Map - Map Operations
- Set - Set Operations
- Prototypes - Prototype Chains & Inheritance
- Classes - ES6 Classes, Inheritance, Private Members
- Design Patterns - Singleton, Builder, Factory, and more
- Switch - Switch Statements
- For Loop - For Loop Variations
- While - While Loops
- forEach - ForEach Operations
- Destructure - Destructuring Patterns
- Functions - Function Types & Patterns
- Async/Await - Async/Await Patterns
- Promises - Promise Handling
- Wait - Wait Utilities
- Loaded - Load Event Handling
- ESM & CJS - ES Modules vs CommonJS
- Web API - URL(), Web Workers, AbortController
- DOM - DOM Manipulation
- Proxy - Proxy Patterns
- Cookie - Cookie Handling
- Link - URL Operations
- API - Browser APIs
- Clipboard - Clipboard Operations
- Viewport - Viewport Control
- Navigator - Browser Detection
- Document/Window - Document & Window APIs
- Before Unload - Unload Events
- Pseudo Elements - :before & :after Styling
- jQuery - jQuery Patterns
- Owl Carousel - Carousel Library
- Google reCAPTCHA - reCAPTCHA Integration
- UI Libraries - shadcn, Floating UI, Tippy.js, Swiper.js, GSAP
- Filter - Array Filtering
- Sort - Sorting Operations
- Time/Date - Date/Time Handling
- Regex - Regular Expressions
- Error - Error Handling
- Log - Console Logging
- JavaScript Internal - setTimeout, clearTimeout
- Websocket - WebSocket Patterns
- Simulate - Event Simulation
- Redirect - Navigation Control
- Device Detect - Device Detection
- Utils - Utility Functions
- With - With Statement
- Iframe/Object - Embed Elements
- Best Practices - Ternary Operator, OOP, Functional Programming, Clean Code