js判断对像样否为空

js判断对象是否为空/** Check whether string s is empty. */function isEmpty(s){return ((s undefine

js判断对象是否为空
/** Check whether string s is empty. */
function isEmpty(s)
{
return ((s == undefined || s == null || s == "") ? true : false);
}