Skill-
Forge
Learn
Notes
Language & Framework notes
CS Core Subjects
OS, DBMS, Networks, OOP & more
System Design
Architecture & High-Scale
Roadmaps
Guided developer learning paths
Cheat Sheets
Quick syntax references
Resources
Curated books, guides & links
Practice
Problems
DSA & coding challenges
Quizzes
Test your knowledge
Algorithms
Explanations & visualizations
Git Visualizer
Interactive Git graph & CLI playground
Aptitude
Placement & logic prep
Formula Simulators
Real-time quant equation simulators
Build
Projects Hub
Step-by-step real world projects
Resume Builder
ATS-friendly resumes, live preview & score
Tools
Online compilers & utilities
Skills
Core professional & tech skills
Error Encyclopedia
Search
⌘K
Install App
Start Learning
Menu
Learn
Notes
CS Core Subjects
System Design
Roadmaps
Cheat Sheets
Resources
Practice
Problems
Quizzes
Algorithms
Git Visualizer
Aptitude
Formula Simulators
Build
Projects Hub
Resume Builder
Tools
Skills
Error Encyclopedia
Search
Install Skill-Forge App
Appearance
Start Learning
Skip to main content
Cheatsheets
11 sections
37 cards
ES2024 · Core
JS
JavaScript — Part 1
Variables · Types · Functions · Arrays · Objects · Strings · Control Flow · Scope
Browse sections
Shortcuts
?
Hide Sidebar
Search cheatsheet sections
/
or
⌘K
Progress
0%
Table of contents
Shortcuts
?
📦
Variables & Scope
🔢
Types & Type Coercion
⚙️
Operators
🔀
Control Flow
🔧
Functions
📋
Arrays & Array Methods
🗂️
Objects
🔤
Strings
🔁
Loops & Iteration
🧩
Destructuring
🌊
Spread & Rest
J
K
Jump
/
Search
Esc
Clear
📦
Variables & Scope
🔥 interview critical
var vs let vs const
Hoisting
Scope Types
Closures 🔥
🔢
Types & Type Coercion
🔥 tricky
Primitive Types (7)
💡 Everything else is
Object
(arrays, functions, dates, regex…)
Type Checking
Falsy & Truthy 🔥
Type Coercion ⚠️
Nullish & Optional Chaining ⭐
⚙️
Operators
Arithmetic & Assignment
Comparison & Logical
Bitwise & Other
🔀
Control Flow
if / else / switch
Error Handling
🔧
Functions
🔥 must know all types
Function Flavors
Arrow vs Regular — key diff
Never use arrow functions as
object methods (this will be wrong) or as constructors.
Parameters
Higher-Order Functions ⭐
this keyword
📋
Arrays & Array Methods
🔥 most used
Create & Access
Mutation Methods (change original)
Iteration Methods (return new) 🔥
Non-Mutation Methods
New Array Methods (ES2023+)
🗂️
Objects
🔥 reference types
Create & Access
Object Methods 🔥
Property Descriptors
Shallow vs Deep Copy
🔤
Strings
Template Literals
String Methods 🔥
Regex Quick Ref
🔁
Loops & Iteration
Loop Types
Iterators & Generators
🧩
Destructuring
⭐ everywhere
Array Destructuring
Object Destructuring ⭐
🌊
Spread & Rest
Spread (...)
Rest (...)
💡
Spread
expands.
Rest
collects. Same syntax, opposite job.