Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Codewars Convert a String to a Number!

var stringToNumber = function (str) {
    let convert = parseInt(str)
    return convert;
}
 
PREVIOUS NEXT
Tagged: #Codewars #Convert #String
ADD COMMENT
Topic
Name
9+7 =