Javascript - How to Access the Index Values in a Nested Array

preview_player
Показать описание
A QUICK LOOK AT A NESTED ARRAY ALSO KNOWN AS A MULTIDIMENSIONAL ARRAY & HOW TO ACCESS THE ARRAY'S INDEX VALUES

-----------------------------------------------------------

Рекомендации по теме
Комментарии
Автор

How is something so simple, explained so poorly by almost every other resource? Thank you for making this super easy to understand!

redbolts
Автор

THANK YOU for this! The explanation at Free Codecamp for this is, to me, opaque because of the way it's phrased, and because there is no talking through it, as you did.

davidbruskin
Автор

not sure if this is still active but in a regular array arr = [1, 2, 3] we can use arr.indexOf[2] to return the index 1.... in a nested array arr1= [[1, 2], [3, 4], [5, 6]] we can't use arr1.indexOf[6] how would we use our programs to return that index? I know the answer arr1[2][1]. but need to know a method that will allow that...

kicoman
join shbcf.ru