Advertisement

Let and Const

let variable = "can change";
const constant = "cannot change";

Template Literals

const message = `Hello ${name}`;

Destructuring

const [a, b] = [1, 2];
const { name, age } = person;

Spread Operator

const newArr = [...oldArr, 4, 5];
const newObj = { ...oldObj, key: "value" };
Advertisement
Last updated: January 2026
Advertisement