Through the hard times--need help


#1

https://www.codecademy.com/courses/spencer-sandbox/0/2?curriculum_id=506324b3a7dffd00020bf661#

need the right code to be passed

var multiplesOfEight = [8,16,24,32,40,58];
var answer = multiplesOfEight[X] % 8 !== 0;

#2

For this exercise we must visually identify the value that is not divisible by 8, and add that index to the above line.

Hint: 58 is not divisible by 8.


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.