What is the mistake in my Code. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

What is the mistake in my Code.

I had written a code to convert a string of numbers to a given index of number But it not working.I don't understood the problem with code. https://code.sololearn.com/cqtpxRVcOZd4/?ref=app

8th Jul 2020, 3:09 AM
Akash
Akash - avatar
1 Answer
+ 2
'o' will be capital for valueOf... predefined methods are always camelCase
8th Jul 2020, 3:15 AM
Vaibhav Tandon
Vaibhav Tandon - avatar