0
Explain Js challenge code
4 Answers
+ 4
Well I would have explained it but i think your code is missing something and its not working
+ 1
Just put any condition in line 4 like
If(arr[i]%2===0)
But here is what the answer will always be zero
The reason is because the starting value of x is 0 so anything multiplied by 0 is 0
0
I copied it from sololearn java script challenge but it is fault in line 4.
0
can you fix it and explain?