Help me! Words JavaScript exercise! | Sololearn: Learn to code for FREE!

0

Help me! Words JavaScript exercise!

No output displayed, why?? https://code.sololearn.com/cXTNf6Ycr0gY/?ref=app

9/17/2021 10:46:08 AM

Ivan Voncini

3 Answers

New Answer

0

print(){ var crypto=""; for(var i=0;i<this.words.lenght;i++){ crypto+=this.words[i]+"$"; } console.log(crypto);

0

Why 'no output'??

0

Because you didn't call print() function