We can declare an array like this
var scripts = new Array();
We can add elements to this array like this
scripts = "PHP";
scripts = "ASP";
scripts = "HTML";
Now our array scrips has 4 elements inside it and we can print or access them by using their index number. Note that index number starts from 0. To get the third element of the array we have to use the index number 2 . Here is the way to get the third element of an array.
We also can create an array like this
var no_array = new Array(21, 22, 23, 24, 25);
2008-05-06, 6068👍, 0💬
What does static variable mean? There are 3 main uses for static variables: If you declare within a ...
Are CAO stateful in nature ? Yes. In CAO remoting model client creates a instance on server and inst...
How To View All Columns in an Existing Table? - Oracle DBA FAQ - Managing Oracle Database Tables If ...
.NET INTERVIEW QUESTIONS - What are types of compatibility in VB6? There are three possible project ...
How do we assign page specific attributes ? Page attributes are specified using the @Page directive.