In a given method, from my input, when typing "me" it checks if the fruit exists in this array:
['banana', 'melao', 'uva', 'melancia']
In this case, bring me (position 1 - melao and position 3 - watermelon).
I've tried using inArray...
asked by
21.03.2016 / 15:57