首页 › 答案 › 题库 › 博览群书

在JavaScript中,哪个方法用于将字符串转换为整数()

在JavaScript中,哪个方法用于将字符串转换为整数()
A、parseInt
B、parseFloat
C、Number
D、toInt
正确答案:A