Code Academy 4/26 Javascript Recursion -


i'm having great time learning recursion (or trying to) in javascript, , have done code academy has asked of me, there's wrong, anyway. can please (and thank you!) tell me have gone wrong? code academy reporting there's error, it's not telling me where.

here code, , have pasted instructions below it.

function multiplyby10(number) {   console.log(number * 10); }  function multiplesof10(limit) {    for(i=1;i==limit;i++){     multiplyby10(i);    } }  multiplesof10(100); 

instructions:

complete definition of multiplesof10() adding loop.

the loop should start i = 1 , end when i equal value of limit.

within loop, call function multiplyby10() , pass variable i argument.

finally, call function multiplesof10() @ end of code, passing integer argument.

in instruction found loop should start = 1 , end when equal value of limit condition for(i=1;i==limit;i++) false time . need change condition . here's right 1 :

for(i=1;i<=limit;i++) 

Comments

Popular posts from this blog

dns - How To Use Custom Nameserver On Free Cloudflare? -

python - Pygame screen.blit not working -

c# - Web API response xml language -