June 19th in Tutorials ∇, Web Coding .

USE OF ARRAY IN JAVASCRIPT

  • Delicious
  • Design Bump
  • Facebook
  • Digg
  • Reddit
  • Google
  • LinkedIn
  • Technorati
  • StumbleUpon
  • Twitter
  • RSS Feed

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.

Comments

  • Online Banking Saftey
    October 17, 2010
  • scrapebox rapid indexer
    February 24, 2011
  • scrapebox rapid indexer
    February 24, 2011

Leave A Comment.





Ulancer Blog One Source To Your Freelancing Needs

About Us

Ulancer is a Freelance Network and Resource website that offers inspirational art, time-saving techniques, insightful tutorial, useful resources such as freelancer bookmarking and website submitting. Our Freelance Blog covers web development, advertising, freelance resources, mobile applications, web & graphic designing.

Need help with your subscriptions, job advert or the site? Visit our Support Center, You will probably find the answer to your question there.