Length | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 2

Length

Why does zeros.length return 1 every time? https://code.sololearn.com/Wm0CPovm9N4L/?ref=app

24th Sep 2018, 1:26 AM
Daniel Cooper
Daniel Cooper - avatar
1 ответ
+ 2
ODLNT I forgot that I changed the code. Lol. The code was completely different. It works fine now. But the length of a value was returning 1 no matter how many zeros were present. I fixed it tho. Lol
24th Sep 2018, 3:21 AM
Daniel Cooper
Daniel Cooper - avatar