JS 校验,检测,验证,判断函数集合

http://jc-dreaming.iteye.com/blog/754690
/**
 *判断对象是否为空
 *Check whether string s is empty. 
 */ 
function isEmpty(s) 

return ((s == undefined || s == null || s == "") ? true : false); 
}
 
 
 
posted @ 2014-11-04 11:19  程序员斯文  阅读(279)  评论(0编辑  收藏  举报