Answers for "Use parseInt() in the convertToInteger function so it converts the input string str into an integer, and returns it."

0

Use parseInt() in the convertToInteger function so it converts the input string str into an integer, and returns it.

function convertToInteger(str) {
  return parseInt(str);
}
Posted by: Guest on December-19-2019

Code answers related to "Use parseInt() in the convertToInteger function so it converts the input string str into an integer, and returns it."

Code answers related to "Javascript"

Browse Popular Code Answers by Language