answersLogoWhite

0

An array object is used to store multiple values in a single variable. This de-clutters everything and is extremely useful. An array can be created in three ways, regular, condensed and literal.

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

What is javascript array object?

An object in JavaScript is anything that holds information. Arrays, strings, numbers and booleans are all objects. You can then use methods and functions to manipulate those objects. If you want to know more about objects, see the related links.


What are properties in Javascript?

Like other object-oriented languages (JavaScript is technically not 'object-oriented'), JavaScript has objects, those objects have attributes or 'properties' which hold data


How do you print element in array using javascript?

You would insert this command right after your array values have been specified.document.write(name of array[Number on array this item is, starts at 0])


How can I use the mini.split function to separate a string into an array of substrings in JavaScript?

To use the mini.split function in JavaScript to separate a string into an array of substrings, you need to call the split method on the string and provide the delimiter as an argument. This will split the string at each occurrence of the delimiter and return an array of substrings.


What is an arrangement of objects into equal rows and columns?

Tabulated form of objects


What is the correct way to write a JavaScript array?

The most common and shortest way to write a JavaScript array is: var myArray=[1,2,3]; You can also use: var myArray=new Array(1,2,3); Or: var myArray=new Array(); myArray[0]=1; myArray[1]=2; myArray[2]=3; All of these produce the same array containing the elements 1, 2, and 3.


What is an array of class objects.how the array of class of class objects is defined in c plus plus?

An array of class objects is just a set of class objects arranged linearly in memory. It is no different than an array of elementary objects. You define it the same way. class myClass { ... }; myClass arrayOfMyClass[100]; // creates 100 objects and fires the constructor 100 times


What consists of multiple objects?

For example, in Java you can make an array of objects.


What is the purpose of Javascript?

It's main purpose is to make downloadable games like Runescape.


What is an arrangement of objects in rows and columns?

Array


What is the meaning behind a javascript split?

The javascript split method, split(), will alter a string to make it into an array of substrings. This is useful if you would like to store each substring from the original string seperately.


How does one define a Javascript class?

To define the class of a javascript code or string there are two to three or so main methods, one of these is to use it, and review the result, such as activating and using a function relative to to itself. Another is to use the objects Literals, the advantage to this is that Literals are a shorter way to define objects and arrays in JavaScript.