Smart Interview Basic Hackerrank Solutions Javascript Array Contains