Check if user click is correct with random selected array for Simon Game

HI i have been working on how to increment color changes of Simon Says Game. I have found a setInterval method on StackOverflow. But now i am having issues interrupting the color pattern to check users input in game. I am keeping score of random color selection in my classVariable array and user clicks with useClick array. My checkSequence() function should be checking if arrays match in length and index. But i am having issues to check classVariable and userClick array after each incremt in classVariable array. Simon Says latest version