ES6 changed how people write JavaScript.
Direct answer
ES6, also called ES2015, is a major JavaScript update that introduced let and const, arrow functions, template literals, destructuring, the spread operator, classes and modules. Most modern code uses them.
Key features
// template literals
const name = "Ada";
console.log(`Hello ${name}`);
// destructuring
const { age, city } = { age: 28, city: "Lagos" };
const [first, second] = [10, 20];
// spread
const a = [1, 2];
const b = [...a, 3]; // [1, 2, 3]
// default parameters
function greet(name = "friend") {
return `Hi ${name}`;
}
// modules
export const pi = 3.14;
import { pi } from "./math.js";
Why it matters
These features make code shorter and clearer. They are used in nearly every framework and tutorial you will meet.
Where Teyro fits
Teyro's JavaScript for Beginners course turns this into short lessons you can play in a few minutes a day. It has 50 lessons, and you can start free.
The bottom line
Learn these seven features first and you will read most modern JavaScript comfortably.



