At Westonci.ca, we provide reliable answers to your questions from a community of experts. Start exploring today! Our Q&A platform provides quick and trustworthy answers to your questions from experienced professionals in different areas of expertise. Join our platform to connect with experts ready to provide precise answers to your questions in different areas.

pleaseee helpppppppppp

Pleaseee Helpppppppppp class=

Sagot :

Answer:

EXAMPLE -

Create a variable and assign your age

var myage = 32;

type your age:

console.log(my age) ;

Notice that we did not type the actual numeric age. We used the variable instead. There wouldn’t be any purpose of declaring a variable if we were going to type 32 directly.

This makes the scrip more portable which means that the result on the screen is independent of the code console.log(myAge); . If we need to change our age all we have to do is to assign another number to the variable myAge and the output will change automatically. That’s the purpose of a variable.