I was refering w3schools Javascript Tutorials,in 'Javascript Arithmetic' section i found a different type of 'var' delcarationactually i did't understand, because it is not refered in the tutorial, the code I given below............................................................................................... <script type="text/javascript">function myFunction(){var y=5;var x=y+2;var demoP=document.getElementById("demo")demoP.innerHTML="x=" + x;}</script>...............................................................................................In the above example i did't understand the below lines, var demoP=document.getElementById("demo")demoP.innerHTML="x=" + x; anyone can define it Thank You