判断字符串

str='';

 

if(!str) // str为null 或者"" 或者0 

相关文章:

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