Variables can’t have spaces between words such as let hello world.
Also can’t do 1 user or a digit in a variable name, cannot be the first character.
Identifier/s are used for sequence of characters in code that identifies variables, functions, property
In js it’s case sensitive and can obtain Unicode letters , $ and digits from 0-9. However may not start with a digit.
Can do let_age.
camelcase is when each nee word has a uppercase first letter expect for the very first.
Important to make names clear, don’t do let = n could be name ,number or username.
For Boolean let is gameOver=true, used is to be more clear.
Understood the concept quite well and onto the next one.
zakariyesahid96
Σχόλια