+ 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
7 Respostas
+ 6
thats perfect 💯💯💯💯💯
+ 5
I don't know Javascript, but I bet you this is how:
myNewArray[2][0]
Works the same way in Python.
+ 5
i'm happy i have people that care mua kissess 💋💋💋💋💋
+ 4
Ahri Fox,
Works the same in JS,:
var arr = [[1,2],[3,4],[5,6]];
console.log(arr[2][0]);
//_ Output 5
+ 2
For c#:
int value = myNewArray[2][0];
Console.WriteLine(value);
For c++:
int value = myNewArray[2][0];
cout << value;
+ 1
same for java
System.out.print(myNewArray[2][0]);
0
DEUTSCHLAND!