Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js access array in array

let nestedArray = [
	[
		"salmon",
		"halibut",
	],
	[
		"coral",
		"reef",
	]
];

nestedArray[1][0];//just add another index number
 
PREVIOUS NEXT
Tagged: #js #access #array #array
ADD COMMENT
Topic
Name
1+2 =