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

What is an onclick?

867


What does 3+4+"7" evaluate to?

820


How do I turn on javascript?

827


What is the javascript function?

937


How to get value from a textbox?

1067


What are the valid scopes of a variable in JavaScript?

950


How do I write script-generated content to another window?

896


What are all the types of Pop up boxes available in JavaScript?

1034


What is the use of type of operator?

902


Program to return the address family of a socket

1279


What is the difference between null and undefined?

1833


What is the difference between var and let?

885


What is the most widely used programming language?

854


Explain why asynchronous code is important in javascript?

973


Why is my javascript function not defined?

931