Identifiers in JavaScript - JavaScript Tutorial 10

Published: 22 January 2017
on channel: 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


On this page of the site you can watch the video online Identifiers in JavaScript - JavaScript Tutorial 10 with a duration of hours minute second in good quality, which was uploaded by the user ChidresTechTutorials 22 January 2017, share the link with friends and acquaintances, this video has already been watched 8,491 times on youtube and it was liked by 155 viewers. Enjoy your viewing!