当前位置:网站首页>Js method to determine whether the character is empty

Js method to determine whether the character is empty

2022-09-23 08:50:36Blue sky and white dress girl

 // The method to determine whether the character is empty function isEmpty(v) {return v === undefined || v === 'undefined' || v === null || v === 'null' || v === ''}
//Use example if (!isEmpty(value)) {alert(value);}
原网站

版权声明
本文为[Blue sky and white dress girl]所创,转载请带上原文链接,感谢
https://chowdera.com/2022/266/202209230844297656.html

随机推荐