snandy

如下

typeof Number(\'44.5\');
typeof parseInt(\'44.5\');
typeof parseFloat(\'44.5\');
typeof (\'44.5\'-0);
typeof +\'44.5\';
typeof (\'44.5\'*1);
typeof ~~\'44.5\';//http://james.padolsey.com/javascript/double-bitwise-not/
typeof \'44.5\'|0

还有其它的吗?

分类:

技术点:

相关文章:

  • 2021-12-06
  • 2021-12-20
  • 2022-12-23
  • 2021-12-06
猜你喜欢
  • 2021-12-27
  • 2021-08-02
  • 2022-12-23
  • 2021-12-20
  • 2021-12-04
  • 2021-09-30
相关资源
相似解决方案