- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTask20.html
More file actions
Latest commit
25 lines (24 loc) · 698 Bytes
/
Copy pathTask20.html
File metadata and controls
25 lines (24 loc) · 698 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<!--
-What is an Array?
:-An array is collection of individual values (Group of values where each value is independent of other value.
It is not constraint that each value of array should be same or different) grouped together.
:- An array is contains series of numbered containers into which one can put values
Notice the numeric Positioning == THAT IS JavaScript Starts its counting at zero. Therefore an array of size Five
will have indexes as 0,1,2,3,4
How do one create an array?
:- Create an instance of Array object
-->
<head>
<scriptlang="JavaScript">
<!--
var
// -->
</script>
</head>
<scriptlang="JavaScript">
<!--
varmyArray=newarray(5)
// -->
</script>
<body>
</body>