Comments
|
Functions/Methods/Subroutines
|
Variables, Constants, & Data Types
Variables are declared with the let keyword. Constants are declared with the const keyword. They are both initialized with the = symbol. Globally-scoped variables should be declared only, then initialized with a mutator method. Locally-scoped variables should be declared & initialized on the same line. Constants are immutable & variables are mutable. |
Cheatography
https://cheatography.com
Modern JavaScript Cheat Sheet (DRAFT) by CodeElegant
A basic JavaScript cheat sheet utilizing ES6 keywords
This is a draft cheat sheet. It is a work in progress and is not finished yet.