jsParseInt

fun jsParseInt(input: String, radix: Int = 10): Double(source)

Number.parseInt: reads the longest prefix of digits, NaN when there are none.