No matter how much I search the Internet, there is no word on two-dimensional arrangement
How do I make a two-dimensional array in JavaScript? And how do you approach a member? (myArray[0][1] or myArray[0,1])?
javascript array
var items = [[1,2],[3,4],[5,6]];
alert(items[0][0]); // 1
I hope it helps.
© 2024 OneMinuteCode. All rights reserved.