Posts by Ramaniks • 73 points
1 post
-
7
votes3
answers6440
viewsQ: How to check if an item is contained in an array?
What am I doing wrong in this if? if (angular.uppercase(nome[id]) in ['A', 'E','I', 'O', 'U']) { .... } If I only do so it works. But I will have to repeat to others. if (angular.uppercase(nome[id])…