An array is a special kind of variable which can store many variables in it. Array in JavaScript is similar with array used in other programming languages. While using arrays in JavaScript always remember the following points:
- Remember that an array is a special type of variable.
- By using an array name you can store values and you can specify the position of the value where you want to store the value in the array by stating the location in brackets.
For example: newArray[4] = “Hi Friends”;
This example states that, newArray is an array and in the fourth position you like to
place the words Hi Friends.
- You can access the value in array by the array name and location of the value. For example: newArray[4];
- You should go through the built-in functions for arrays in JavaScript before writing the codes of your own.


October 17, 2010
I think that is an interesting point, it made me think a bit. Thanks for sparking my thinking cap. Sometimes I get so much in a rut that I just feel like a record.
February 24, 2011
Hi there! I just wanted to ask if you ever have any trouble with hackers? My last blog (wordpress) was hacked and I ended up losing many months of hard work due to no back up. Do you have any methods to prevent hackers?
February 24, 2011
Hey there would you mind stating which blog platform you’re using? I’m going to start my own blog soon but I’m having a difficult time selecting between BlogEngine/Wordpress/B2evolution and Drupal. The reason I ask is because your design and style seems different then most blogs and I’m looking for something unique. P.S Sorry for being off-topic but I had to ask!