Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@Gerrymandered you mean like arr[i, j, k]? Why? Why not arr[i][j][k]?
Unless you want to edit pixels in a canvas - that thing does suck. -
@AndSoWeCode i need something like arr[arr[i, j, k], arr[l, m, n], ...] and so on.
-
I don't understand the question. There's no problem with multidimensional arrays in JavaScript. Am I missing something?
-
@DeadInside https://stackoverflow.com/questions...
I hope this helps somehow.
The term I was looking for is jagged array. -
@Phippsaurus https://git.infiniit.co/matthew/...
If any of you want to take a look at what I'm trying to do.
my goal is to have:
```js
full_deck[
"Player_1"[card1, card2, card3, card4, card5...],
"Player_2"[card1, card2, card3, card4, card5...], ...
]
``` -
@Phippsaurus that actually got what I needed done! Thanks! You saved me a few days of debugging with a friend.
Related Rants
Why must JavaScript not support multidimensional arrays?
rant
js
javascript
php works better
multidimensional arrays