In this video I take a look at how you can traverse an array while counting the number of times that an element appears in it. I first do it for an integer and then for a string.
You can download the script, that I show in the video, below.
https://enfuzed.com/javascript-count-strin...