+ 2
Why does 3 output in the code below
ver len=0 for(let ch of"Solo"{ if(ch>'a'&&ch<'z') len++; } console.log(len);
3 Respuestas
+ 1
I will add: the condition other than the above is also incorrect and the operators '>', '<' are used instead of the ones required here '>=', '<='.
Here is my example:
https://code.sololearn.com/Wj0RYJ6S3yTT/?ref=app
+ 1
for
or