Posts by Walacy Machado • 21 points
1 post
-
2
votes4
answers39
viewsQ: Knowing which index of array values gives "match" with variable
I have two JSON arrays in Javascript and both are like this. First array: [""Amarelo"", ""Amarelo"", ""Amarelo"", ""Preto"", ""Preto"", ""Preto""] Second array: [""Pequeno"", ""Médio"", ""Grande"",…