Codewars mengonversi string ke angka!

var stringToNumber = function (str) {
    let convert = parseInt(str)
    return convert;
}
Michael Futral