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, 6484👍, 0💬
If cookies are not enabled at browser end does form Authentication work? No, it does not work.
.NET INTERVIEW QUESTIONS - What is the difference between System exceptions and Application exceptio...
Who Developed HTML? HTML was originally developed by Tim Berners-Lee while at CERN, and popularized ...
Can each Java object keep track of all the threads that want to exclusively access to it?
How To Avoid the Undefined Index Error? - PHP Script Tips - Processing Web Forms If you don't want y...