A variable is a “named storage” for data. We can use variables to store goodies, visitors, and other data.
To create a variable in JavaScript, use the let keyword. In older scripts, you may also find another keyword: var instead of let. The var keyword is almost the same as let. It also declares a variable, but in a slightly different, “old-school” way.
There are two limitations on variable names in JavaScript:
1. The name must contain only letters, digits, or the symbols $ and _.
2. The first character must not be a digit.
When the name contains multiple words, camelCase is commonly used. That is: words go one after another, each word except first starting with a capital letter: myVeryLongName.
The list of all reserved words in JavaScript you can find here - https://www.w3schools.com/js/js_reser...
Let's be friends:
INSTAGRAM ↣ / travels_code
TWITTER ↣ / travelscode
FACEBOOK ↣ / travelscode
WEB-SITE ↣ http://travelscode.com/
GITHUB ↣ https://github.com/MaksymRudnyi/
On this page of the site you can watch the video online 8. JavaScript variables. Explaining with examples. with a duration of hours minute second in good quality, which was uploaded by the user Travels Code 24 April 2020, share the link with friends and acquaintances, this video has already been watched 218 times on youtube and it was liked by 4 viewers. Enjoy your viewing!