what is variable in javascript
A JavaScript variable is simply a name of storage location. There are two types of variables in JavaScript: local variable and global variable. There are some rules while declaring a JavaScript variable (also known as identifiers). The name must start with a letter (a to z or A to Z), underscore( _ ), or dollar( $ ) sign.
var varName= variable;
console,log(varName);
Read more Blogs:- Pritam Sau
0 Comments