+ 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 Sharma
Akash Sharma - avatar
2 odpowiedzi
+ 2
'o' will be capital for valueOf... predefined methods are always camelCase
8th Jul 2020, 3:15 AM
Vaibhav Tandon
Vaibhav Tandon - avatar