R
R
R02021-06-22 13:59:39
JavaScript
R0, 2021-06-22 13:59:39

Am I not referring to nested and multidimensional arrays correctly?

There are
multidimensional arrays

multidimensional = [
[1,2],
[1,2,3],
[4]
]

accessing element 0, 1 array = multidimensional[1][0]

and

nested arrays nested = [1,2,[1,2,3],4];
accessing element 0, 2 nested arrays = nested[2][0]
so weird

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
pLavrenov, 2021-06-22
@pLavrenov

Yes, this is the form in most (if not all) languages.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question