Consider following snippet:
 1. var multiplesOfEight = [8,16,24,32,40,58]; 2. var answer = multiplesOfEight[ X ] % 8 !== 0; 
What should be the value of the X variable at line2 to get the true value for answer variable?
Explanation
Get an explanation when it's available:

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Keep exploring
JavaScript quizzes
Cosmo
Sign Up Now
or Subscribe for future quizzes