DevTools Surf logoDevTools Surf
AI / Modern DevAnimation / CSSAPI / Config
Sign in
DevTools Surf logoDevTools Surf
AI / Modern DevAnimation / CSSAPI / Config
Sign in
HomeJavaScriptJavaScript Cheat Sheet

About JavaScript Cheat Sheet

JavaScript Cheat Sheet preview - JavaScript tool

Searchable reference: variables, async, classes, DOM, fetch, gotchas, ES2020–2024. Part of the DevTools Surf developer suite. Browse more tools in the JavaScript collection.

Use Cases

  • Frontend devs refreshing on modern JS destructuring syntax
  • Code reviewers checking if a pattern uses idiomatic ES2020+
  • Backend Node.js developers adopting nullish coalescing and optional chaining
  • Bootcamp grads building muscle memory for async/await patterns

Tips

  • Use the search bar to jump to a specific ES2020+ feature
  • Bookmark sections on nullish coalescing for quick reference
  • Compare destructuring patterns side by side with examples

Fun Facts

  • JavaScript was created by Brendan Eich in just 10 days in May 1995, originally named Mocha, then LiveScript.
  • The nullish coalescing operator (??) was officially added in ES2020, solving a decade-old problem with falsy-value checks using ||.
  • Optional chaining (?.) was proposed in 2017 but took three years to reach Stage 4 and ship in ES2020.

FAQ

Which ES version does it cover?
ES2020 through ES2024. Top-level await, optional chaining, nullish coalescing, WeakRefs, Array.at(), Object.hasOwn(), structured clone.
Does it explain 'this'?
Yes — the four binding rules and how arrow functions differ. The most-searched JS topic gets its own section.
What about async/await gotchas?
Sequential vs parallel, error handling (try/catch + Promise.all), and the 'async in forEach' anti-pattern.
Is TypeScript covered?
Separate cheatsheet. Use the TypeScript one for type-level content; this covers the JS runtime and syntax.

Related JavaScript Tools

JS BeautifierJavascript Pretty PrintJS MinifierConsole Log GeneratorObject Path Resolvernpm Package Name ValidatorRegex CheatsheetASCII Table Reference
New · Flagshipsimple REST client

REST Handler — Collections, env vars, history, cURL converter

Send requests, save collections (nested), swap environments, and convert between cURL / Collection JSON / REST Handler YAML.

Open

Popular tools

The most-used tools on DevToolsSurf, one click away.

Encoding & crypto

  • Base64 Encode
  • Base64 Decode
  • URL Encoder
  • URL Decoder
  • Hash Generator
  • JWT Decoder
  • JWT Encoder
  • UUID Generator
  • ULID Generator
  • Password Generator
  • Bcrypt Hash Tester

Converters

  • CSV to JSON
  • JSON to CSV
  • XML to JSON
  • JSON to XML
  • HTML → Markdown
  • HTML → React JSX
  • cURL to Code
  • Collection JSON → cURL
  • Swagger to Collection JSON
  • JSON → Go Struct
  • JSON → TypeScript Types

JSON & YAML

  • JSON Formatter
  • JSON Validator
  • JSON Viewer
  • JSON Minifier
  • JSON Diff
  • JSONPath Tester
  • YAML Formatter
  • YAML to JSON
  • JSON to YAML

Text & regex

  • Regex Tester
  • Text Diff
  • Case Converter
  • Word Counter
  • Markdown Preview
  • Slug Generator
  • Lorem Ipsum Generator
  • Markdown → PDF

CSS & color

  • CSS Beautifier
  • Minify CSS
  • Color Converter
  • Gradient Generator
  • Contrast Checker
  • Color Palette Generator
  • Flexbox Playground
  • Tailwind → CSS

Generators

  • QR Code Generator
  • Mock Data Generator
  • Favicon Generator
  • .gitignore Builder
  • README.md Generator
  • Dockerfile Generator
  • Sitemap Generator

API & networking

  • REST Handler
  • HTTP Header Analyzer
  • IP Address Lookup
  • CIDR Calculator
  • User-Agent Parser
  • HTTP Status Reference
  • OpenAPI Viewer

Date & time

  • Timestamp Converter
  • Timezone Converter
  • Cron Expression Parser
  • Duration Calculator
  • Age Calculator
  • Date Format Converter

Images

  • Image Converter
  • Image Resizer (Batch)
  • SVG Optimizer
  • Base64 ↔ Image
  • WebP ↔ AVIF Converter
  • Image Compressor

PDF tools

  • PDF Merger
  • PDF Splitter
  • PDF Compressor
  • Markdown → PDF
  • EPUB → PDF
  • MOBI / AZW → PDF
  • DOCX → PDF
  • HTML → PDF

Resources

  • Community feed
  • Themes marketplace
  • Pricing & credits
  • Privacy policy
  • Terms of service
  • Sitemap
  • robots.txt

Your account

  • Sign in
  • Dashboard
  • Run history
  • My profile
  • Settings
DevTools Surf logo
DevTools Surf919+ tools

Fast · privacy-first · client-side · © 2026

Home·Feed·ThemesPricing·Sign inPrivacy·Sitemap Feedback