๐ŸŸจ JavaScript Dictionary

Every keyword, operator, and symbol explained.

let keyword
Block-scoped variable that can be reassigned.
let x = 5;
const keyword
Block-scoped constant that cannot be reassigned.
const PI = 3.14;
function keyword
Declares a named function.
function greet(name) { return name; }
=> operator
Arrow function โ€” shorter syntax, no own this binding.
const add = (a, b) => a + b;
async/await keyword
Marks function async; await pauses until Promise resolves.
const data = await fetch(url);
=== operator
Strict equality โ€” checks value AND type.
5 === 5
console.log function
Prints to browser or Node.js console.
console.log(x);
fetch function
Makes HTTP request, returns Promise.
const res = await fetch("/api");
JSON.parse function
Parses JSON string to JS object.
const obj = JSON.parse(str);
Promise class
Represents eventual completion of async operation.
new Promise((res, rej) => {})