ES6 Variables
const id = 123;
let status = "active";
Arrow Functions
const add = (a, b) => a + b;
Array Methods
arr.map(x => x * 2);
arr.filter(x => x > 0);
Objects
const user = { name: "JS", age: 25 };
Async/Await
async function fetch() {
const res = await api();
}
Destructuring
const { name, age } = user;