Ad

JavaScript Variables

Image by indicoderz


a = MB
document.write ("a")


Type of JavaScript Variables 

  1. Var
  2. Let
  3. Const

How to use variables


<Script>
     
Var  b = "Hello lndicoderz";

document.write (x) ;

// Without " value use 

</Script>



Note:- 
If you want to print any variables then don't used " .
because if you (" x ") use then same value will be printed.










1 Comments

Post a Comment

Previous Post Next Post