Declare a variable in JavaScript

cc    Declare a variable is imortant thing in any language.
Here, we declare a variable with var Keyword in javascript.
<head runat=”server”>
<script language=”javascript” type=”text/javascript”>var  name;
name=”Meera Academy”;
document.write(name);
</script>
</head>                                             

                  

Leave a Reply

Your email address will not be published. Required fields are marked *