Blogger Ever

List of the words that can't be used in Javascript as variable

Defining the variable in a Javascript code is the important step to take,however people do thing that they can choose anything as a variable.That is totally wrong,there is a border line while selecting the variable.These are some condition that need to be followed.So lets see what are these condition and words that can't be used.

  • While adding a variable we can't use special characters that includes:dot(.),dash(-) etc.
  • The javascript is case sensitive,its mean hamza is not equal to HAMZA.
And most importantly,the topic of this post that is the restrictions of words that can't be variables.The list is given below:


2013-2016 Copyright Blogger E\ver . Coded, managed and founded by Mohammad Hamza (@hamzadhamiya) . Hosted on Blogger and fonts used are Raleway and Open Sans.