+ 4

drop and answer for this Multidimentional Array !!!

var myNewArray = [ [1,2],[3,4],[5,6] ] I want you to access the third array and print 5? Drop code in the comment section

11th Oct 2018, 8:53 PM
Adebayo David Kismet
Adebayo David Kismet - avatar
7 Respostas
+ 6
thats perfect 💯💯💯💯💯
12th Oct 2018, 1:02 AM
Adebayo David Kismet
Adebayo David Kismet - avatar
+ 5
I don't know Javascript, but I bet you this is how: myNewArray[2][0] Works the same way in Python.
11th Oct 2018, 10:10 PM
Ahri Fox
Ahri Fox - avatar
+ 5
i'm happy i have people that care mua kissess 💋💋💋💋💋
12th Oct 2018, 1:03 AM
Adebayo David Kismet
Adebayo David Kismet - avatar
+ 4
Ahri Fox, Works the same in JS,: var arr = [[1,2],[3,4],[5,6]]; console.log(arr[2][0]); //_ Output 5
11th Oct 2018, 10:12 PM
🌴Vincent Berger🌴
🌴Vincent Berger🌴 - avatar
+ 2
For c#: int value = myNewArray[2][0]; Console.WriteLine(value); For c++: int value = myNewArray[2][0]; cout << value;
11th Oct 2018, 11:13 PM
George Rabbat
George Rabbat - avatar
+ 1
same for java System.out.print(myNewArray[2][0]);
13th Oct 2018, 10:44 PM
Oluwatobi Odutola
0
DEUTSCHLAND!
21st Oct 2018, 11:56 AM
C. Scheler
C. Scheler - avatar