Fundamentals1 / 5
Up next

Typed bindings

// const cannot be reassigned; let can. Types are inferred here.
const name = "Ada";
let age: number = 36;
const active: boolean = true;
age += 1;
console.log(`${name} ${age} ${active}`);
What you're solving

typed let/const and inferred primitives