SyntaxFix
Write A Post
Hire A Developer
Questions
Array.indexOf doesnt work in some versions of internet explorer - there are lots of alternative ways of doing it though ... see this question / answer : How do I check if an array includes an object in JavaScript?
Array.indexOf