0

Can you explain pls?

I've little knowledge about js. That's why I'm unable to understand output. it's not my code. it's copy from SL. https://code.sololearn.com/Wte3Ds8E07Ra/?ref=app

21st Oct 2017, 2:36 PM
ARB
ARB - avatar
1 ответ
+ 8
the first one will always be 0 because you multiply with 0 at the beginning the second code starts at 1 and adds the following values to it 0, 1, 2, 3 => 7
21st Oct 2017, 2:40 PM
Kamil
Kamil - avatar