live chat software for live support and live help Online chat software for website

Live chat software

Browser based operator console
Articles

Webtools > JavaScript tutorials > javascript array

javascript array

Array is used to store multiple values in a single variable.Array can hold more than one value at time.

Create Array in java:

var name=new Array();
name<0>="Sasi";
name<1>="kalai";
name<2>="kannan";
name<3>="Iyappan";
name<4>="Gopal";


Array Object Length Property:

The length property of an array represents the actual number of elements in the array.the first array element's index is zero, length will always be one more than the last element number.

For above example:

document.write(name.length);

OUTPUT: 5

 

Tag : javascript array length,array length,array length property

 

WebTools Categories

Network Tools

Search engine tools

Web site tools

PHP resources

ASP tools and resources

Web design tools

JavaScript tutorials

CSS tutorials

Linux resources

Windows Resources

eCommerce Tools

Free Web Templates

MySql Resources

 

Popular Web Tools

MX lookup
WHOIS lookup
PTR Checker
IP Block Cheacker
IP to Location
Port Checker
Word Count
Character Count
XML sitemap creator
Age Calculator
Google Page rank
w3c validator