Javascript: Ultimate Beginners Guide by Gorman Leonardo

Javascript: Ultimate Beginners Guide by Gorman Leonardo

Author:Gorman, Leonardo [Gorman, Leonardo]
Language: eng
Format: azw3
Published: 2016-12-26T16:00:00+00:00


<!DOCTYPE html>

<html>

<head>

<meta charset = “ISO-8859-1”>

<title>JavaScript Variables</title>

<script type = “text/javascript”>

var name = “Appy”;

var age = 21

var salary = 10000, expenses = 12000;

alert(“Name:” +name + “Age:” + age + “/nSalary:” + salary

+”Expenses:” + expenses)

</script>

</head>

<body>

</body>

</html>

Let’s take a moment to look at what this code is trying to tell us. When you try to store the value of your variable, you are doing a process called variable initialization. You are able to do this process at any time when you want to create the variable or even at the time that you want to use the variable.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.