🌐
Reddit
reddit.com › r/learnjavascript › the "everything" javascript cheat sheet
r/learnjavascript on Reddit: The "everything" Javascript cheat sheet
May 6, 2025 -

Hi everyone, I made an "all syntax" Javascript cheat sheet with examples. It contains all the Javascript syntax and keywords. Also, the UI works better on desktop screen than mobile. Hope it helps everyone.

Please enjoy :)

------------------------------- Link -------------------------------

https://syntaxsimplified.com/cheatsheet/Javascript/javascript.html

--------------------------------------------------------------------

Top answer
1 of 5
9
I don't know how complete you're trying to be with "all syntax" but here are some holes I noticed in the data types section on a quick read through: Decimal without leading digit before decimal point: .1 Using + in exponential: 1.23e+3 Lowercase octal: 0o552 Sloppy octal: 0552 Uppercase hex: 0XF36A Escape sequences in strings "Face:\n\uD83D\uDE04" Tagged template literals: tag`Name: ${myName}` Octal/binary versions of bigint: 0o552n 0b10001101n ... RegExp objects: /abc/ Numeric keys in ordinary objects: { 1: "value" } String keys in ordinary objects: { "my key": "value" } Computed keys in ordinary objects: { [myKey]: "value" } Property shorthand in ordinary objects: { myValue } Methods in ordinary objects: { myMethod() { } } Special __proto__ key in ordinary objects: { __proto__: prototypeObject } Spread in ordinary objects: { ...value } (I would include get/set here but it looks like there is more about objects in another section that does mention get/set. I don't think I saw the other features above there, though) Spread in array objects: [ ...iterableValue ] Also with void, void 0 is typically used to represent undefined. And more typically the undefined global property which I think is worth mentioning even though its not strictly syntax. After all neither BigInt() nor Symbol() are syntax either.
2 of 5
6
Very cool, here's some more to add to it: typeof('foo') can also be written as typeof 'foo'. Object property keys can be named with variables! const key = 'foo'; const obj = { [key]: 'bar' }; console.log(obj.foo); // prints 'bar' Labeled statements. foo: for (let i = 0; i < 3; i++) { for (let j = 0; j < 3; j++) { console.log(`i: ${i} j: ${j}`); break foo; } }
I made a Javascript cheat sheet Apr 29, 2019
r/learnjavascript
7y ago
Cheat sheet repository for beginners. Feb 13, 2023
r/learnprogramming
3y ago
Awesome Cheatsheets Oct 20, 2017
r/webdev
8y ago
Collection of cheat sheets for programmers Sep 29, 2016
r/programming
9y ago
More results from reddit.com
🌐
HTML Cheat Sheet
htmlcheatsheet.com › js
JavaScript (JS) Cheat Sheet Online
JavaScript Cheat Seet contains useful code examples on a single page. Not just a PDF because it's interactive! Find code for JS loops, variables, objects and
Discussions

does anyone have a javascript cheat sheet that they recommend?

One thing that gave me a glimpse into the big picture of JavaScript was the MDN docs. You can navigate to the built in objects, then have a look at the most commonly used ones like Array, String, Object. Look at the method signatures and try to implement an example of the ones that you think you can handle. Good workout, and reference material.

More on reddit.com
🌐 r/learnprogramming
1
1
April 27, 2023
Online Interactive JavaScript (JS) Cheat Sheet

This is wonderful. I often know there is a way to do what I need, but can't remember enough to search online for it. This is very concise and will help with that.

More on reddit.com
🌐 r/Frontend
4
17
March 27, 2019
Javascript Cheatsheet ☕️

This looks very useful! The one thing I don't like is specifically labelling things as "ES6" features. ES6 is 4 years old now, and there's a new release every year. We're up to ES10/ES2019 now, and in general people should be using it. (Possibly with a compiler if they still need to support older interpreters.) There is nothing special about ES5 that's now a decade or of date.

More on reddit.com
🌐 r/javascript
9
2
May 21, 2019
Javascript API Cheat Sheet

http://devdocs.io/javascript/

More on reddit.com
🌐 r/javascript
18
161
March 17, 2015
🌐
QuickRef.ME
quickref.me › home › javascript cheat sheet & quick reference
JavaScript Cheat Sheet & Quick Reference
A JavaScript cheat sheet with the most important concepts, functions, methods, and more. A complete quick refe
🌐
GitHub
github.com › ThibaultJanBeyer › cheatsheets › blob › master › JavaScript-Cheatsheet.md
cheatsheets/JavaScript-Cheatsheet.md at master · ThibaultJanBeyer/cheatsheets
var newFunction = function(argument,argument) { }; // or function newFunction(){} = function declarations = not part of the regular top-to-bottom flow = only use this form in the outermost block of a function or program. newFunction(x,y); // ...
Author: ThibaultJanBeyer
🌐
James Madison University
w3.cs.jmu.edu › mayfiecs › cs343 › notes › wk07 › cheat › js-cheatsheet.pdf pdf
JavaScript Cheatsheet by iLoveCoding.org
JavaScript Cheatsheet · Learn JavaScript Correctly (Video course) https://ilovecoding.org/courses/js2 · Page 1 · <> ♥ · iLoveCoding · 4 · Function · A function is simply a bunch of code bundled in a section. This bunch of code ONLY runs when the · function is called.
Author: mbeaudru
🌐
Codecademy
codecademy.com › learn › introduction-to-javascript › modules › learn-javascript-introduction › cheatsheet
Learn JavaScript: Introduction Cheatsheet | Codecademy
An assignment operator assigns a value to its left operand based on the value of its right operand. Here are some of them: · String interpolation is the process of evaluating string literals containing one or more placeholders (expressions, variables, etc)
Find elsewhere
🌐
QuickStart
quickstart.com › blog › web-development › javascript-cheat-sheet-for-web-development
JavaScript Cheat Sheet | Web Development | Dynamic User Experience
July 25, 2024 - Comprehensive JavaScript cheat sheet for web developers to enhance web pages and applications with dynamic features.
🌐
iLoveCoding
ilovecoding.org › blog › js-cheatsheet
JavaScript Cheatsheet - Comprehensive PDF included
40+ hours of video training organized such that it is easy to make progress. Module 1: Fundamentals of Programming and Web Module 2: Modern Front-End Development Module 3: Back-end Development and Databases Electives (Git, Working with API, etc.) Downloadable Cheat Sheets Access to Homework ...
🌐
GeeksforGeeks
geeksforgeeks.org › javascript › javascript-cheat-sheet-a-basic-guide-to-javascript
JavaScript Cheat Sheet - A Basic Guide to JavaScript - GeeksforGeeks
Event Handling: The cheat sheet covers methods for handling user interactions and browser events, enabling more responsive and interactive web content. Efficient Web Development: Enables faster coding by providing quick access to JavaScript syntax and functions.
Published: December 15, 2025
🌐
Coddy.Tech
coddy.tech › cheat sheets › javascript cheat sheet
JavaScript Cheat Sheet - Arrays, Objects & Async | Coddy
May 27, 2026 - Free JavaScript cheat sheet: variables, data types, strings, array methods, objects, functions, destructuring, and async/await in quick-reference tables.
🌐
Javascriptcheatsheet
javascriptcheatsheet.org
Javascript Cheatsheet
We cannot provide a description for this page right now
🌐
DevSheets
devsheets.io › technology › javascript
JavaScript Cheat Sheets
JavaScript fundamentals cheat sheet with ES6+ syntax, destructuring, modules, closures, scope, and modern best practices with examples.
Author: Kernix13
🌐
Zero To Mastery
zerotomastery.io › cheatsheets › javascript-cheatsheet-the-advanced-concepts
Advanced JavaScript Cheat Sheet | Zero To Mastery
February 1, 2023 - Learn and remember common JavaScript syntax & concepts. A handy reference (plus a PDF version) for any Web Developer... beginner, intermediate or advanced.
🌐
Cheatography
cheatography.com › tag › javascript
263 JavaScript Cheat Sheets - Cheatography.com: Cheat Sheets For Every Occasion
JavaScript methods and functions, a guide to regular expressions and the XMLHttpRequest object. ... Polymer is a new type of library for the web, built on top of Web Components, and designed to leverage the evolving web platform on modern browsers. ... Unofficial Dojo 1.8 Cheat Sheet!
🌐
DEV Community
dev.to › j471n › javascript-cheat-sheet-you-needed-2id
JavaScript Cheat Sheet that you should bookmark - DEV Community
September 13, 2022 - This is the Cheat Sheet of JavaScript. It contains explanations, code examples, basic and important operators, functions, principles, methods, and many more.
🌐
Quora
quora.com › What-is-the-best-JavaScript-cheat-sheet
What is the best JavaScript cheat sheet? - Quora
Answer: The best JavaScript cheat sheets are OverAPI, DevHints, and Modern JS Cheatsheet on GitHub they’re simple, up-to-date, and cover most syntax and methods you’ll need.
🌐
Igmguru
igmguru.com › blog › javascript-cheat-sheet
JavaScript Cheat Sheet: A Basic Guide to JavaScript | igmGuru
June 23, 2026 - Explore our comprehensive JavaScript Cheat Sheet, covering data types, variables, functions, arrays, operators, ES6, DOM, and examples for fast learning.