Identifiers in JavaScript - JavaScript Tutorial 10

Publicado em: 22 Janeiro 2017
no canal de: ChidresTechTutorials
8,491
155

Notes for You:: Identifiers in JavaScript - JavaScript Tutorial 10
Identifiers are names given to the program elements by the programmer.
Ex:
name of a variable
name of a constant
name of an array
name of a function
name of an object
etc.

JavaScript Variable Naming conventions:
are the rules for writing identifier names

1. Identifiers should be meaningful.
2. Keywords should never be used as identifiers.
3. The first character can be an alphabet, underscore or dollar character.
4. The first character should not be a number.
5. All succeeding characters can be alphabets, a digits, or underscores.
6. No special characters are allowed except an underscore or dollar.
7. More than one successive underscores or dollars should not be used.
8. Identifiers are case sensitive.

Ex:
Valid: s, p, Num, num, score, _flag, player9, $price, SCREEN_WIDTH, setWidth, Student etc.
Invalid: 9thplayer, _ _flag, $$balance, continue, etc.

=========================================

Follow the link for next video:
JavaScript Tutorial 11 - Variables in JavaScript | JavaScript Variables
   • Variables in JavaScript - JavaScript ...  

Follow the link for previous video:
JavaScript Tutorial 09 - Keywords in JavaScript | JavaScript Reserved Keywords
   • Reserved Keywords in JavaScript - Jav...  

=========================================

JavaScript Tutorials Playlist:-
   • JavaScript Tutorials  

=========================================
Watch My Other Useful Tutorials:-

jQuery Tutorials Playlist:-
   • jQuery Tutorials  

jQuery UI Tutorials Playlist:-
   • jQuery UI Tutorials  

Bootstrap Tutorials Playlist:-
   • Bootstrap4 Tutorials  

=========================================

► Subscribe to our YouTube channel:
   / chidrestechtutorials  

► Visit our Website:
https://www.chidrestechtutorials.com

=========================================
Hash Tags:-
#ChidresTechTutorials #JavaScript #JavaScriptTutorial


Nesta página do site você pode assistir ao vídeo on-line Identifiers in JavaScript - JavaScript Tutorial 10 duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário ChidresTechTutorials 22 Janeiro 2017, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 8,491 vezes e gostou 155 espectadores. Boa visualização!