https://javascript.plainenglish.io/how-to-find-indexes-of-all-occurrences-of-an-element-in-a-javascript-array-7504c7ee3da7