CodeBeginner

Variable initialization

Also known as initialization · variable initialisation

Giving a variable its initial value when its binding becomes initialized.

In the real world

let score = 0; initializes score with 0; let name; initializes name with undefined.

Related

Go a little deeper