How to create 3-dimensional Array in Javascript?
Answers were Sorted based on User's Feedback
Answer / 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 |
Who is the world famous hacker?
Is javascript a programming language?
Is javascript becoming obsolete?
Explain how to read and write a file using javascript?
Explain promise in javascript?
How would you organize your javascript code?
Explain the difference between javascript and an asp script.
What is an enum
What is called variable typing in javascript?
What are the boolean operators supported by javascript? And operator: &&
What is the difference between push() and concat() in javascript?
How do you sort an array in javascript?