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
Is javascript becoming obsolete?
List few difference between primitive and non primitive javascript data types?
What is eval() in javascript?
Which built-in method returns the length of the string?
Can I learn javascript without knowing java?
Why is java better than javascript?
How can I learn coding fast?
How to make a array as a stack using javascript?
Name some of the built-in methods and the values returned by them.
Explain the difference between call() and apply()?
How do you reverse a string in javascript?
What is enum with example?
What is an Event Bubbling in Javascript?
What are the uses of javascript in web page designing?
Explain prototypal/differential inheritance?