Working with variables

A variable is a named element used to store and retrieve information. With variables, we can store information in one part of the program, and access information from that variable in another part of the program.

Like many other programming languages, JavaScript has variables. You can think of variables as empty containers. You can place data into those containers and then use (or refer to) those contains by their name.

Form more information about variables, access