+ 3
I want to print the every number's frequency(repetation) of inputed numbers
If my input is 1,6,8,1,3,6,1,1 Then he will print 1 occurs 4 times 6 occurs 2 times 8 occurs 1 times 3 occurs 1 times
1 Respuesta
0
Try it yourself first then after your try I'll help you!
Hint use indexOf or ES6 better