Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to create 3-dimensional Array in Javascript?

Answer Posted / anand prakash


for (i = 0; i < arr.length; i++) {

for (j = 0; j < arr[0].length; j++) {

arr[i][j] = new Array(3);
}

}

Is This Answer Correct ?    12 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is javascript becoming obsolete?

900


List few difference between primitive and non primitive javascript data types?

929


What is eval() in javascript?

1030


Which built-in method returns the length of the string?

925


Can I learn javascript without knowing java?

860


Why is java better than javascript?

889


How can I learn coding fast?

939


How to make a array as a stack using javascript?

973


Name some of the built-in methods and the values returned by them.

998


Explain the difference between call() and apply()?

962


How do you reverse a string in javascript?

872


What is enum with example?

928


What is an Event Bubbling in Javascript?

997


What are the uses of javascript in web page designing?

818


Explain prototypal/differential inheritance?

1034