Use the parseInt Function with a Radix 1

I was can’t solve this problem.
as soon as possible solve this problem.

Your code so far

function convertToInteger(str) {


Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.157 Safari/537.36.

Link to the challenge:

What have you tried? There is something you don’t understand? You have written only the starting code