The assignment operator

You use the assignment operator = to assign a value to a variable:

let count = 2
const age = 23

Last updated

Was this helpful?