// '+ "42"' --》 + 加上数字字符串可转换成数值
console.log(typeof (+ "42"));
// 输出为 number

  

相关文章:

  • 2021-12-20
  • 2022-02-07
  • 2021-07-24
  • 2021-11-11
  • 2022-12-23
  • 2021-12-20
  • 2021-11-17
猜你喜欢
  • 2021-12-06
  • 2021-12-20
  • 2021-12-06
  • 2021-06-24
  • 2021-11-17
相关资源
相似解决方案