不挂科搜题免费

问题:

在JavaScript中,下列哪个函数用于将字符串转换为整数?

选项

  • parseInt()

  • toInt()

  • toFloat()

  • toString()

  • 答案:

    A