Answers for "Use parseInt() in the convertToInteger function so it converts a binary number to an integer and returns it."

0

Use parseInt() in the convertToInteger function so it converts a binary number to an integer and returns it.

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

Code answers related to "Use parseInt() in the convertToInteger function so it converts a binary number to an integer and returns it."

Code answers related to "Javascript"

Browse Popular Code Answers by Language