Length | SoloLearn: Learn to code for FREE!



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

9/24/2018 1:26:11 AM

Daniel Cooper

1 Answer

New Answer


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