Use the parseInt Function with a Radix. I didn't understand

Use the parseInt Function with a Radix. I didn't understand
0

#1

Tell us what’s happening:

Your code so far


function convertToInteger(str,radix) {
 parseInt(str, radix);
 var a = parseInt(str, radix);
 return a;
}

convertToInteger("10011", 2);

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/use-the-parseint-function-with-a-radix/


#2

What you need to know?


#3

I can’t solve the problem.


#4

I’m stuck. I can’t decide?


#5

Your code you show solves the problem.

The above is not necessary