I currently have two arrays formatted as below:
FreeChampions [
15,
17,
21,
27,
37,
45,
61,
72,
78,
89,
92,
99,
102,
121,
142
]
and
ChampionList [
[
"266",
"Aatrox",
"Aatrox"
],
[
"103",
"Ahri",
"Ahri"
],
[
"84",
"Akali",
"Akali"
],
[
"12",
"Alistar",
"Alistar"
],
[
"32",
"Amumu",
"Amumu"
],
[
"34",
"Anivia",
"Anivia"
],
[
"1",
"Annie",
"Annie"
],
I want to use the values of the FreeChampions Array to extract the object with the same value in the ChampionList array.
and then store those values in a new array.