https://www.7ix.net/archives/205.html
The indexOf method in JavaScript arrays is explained