Friday, 10 October 2014

Declare Variables in Javascript

Here you can see that we have declare a variable result and assign value to that.
 
<script type="text/javascript">
        var result = 10;
        document.write(result)
    </script>

No comments:

Post a Comment