if ((item === '' || item === undefined || item === null) || (JSON.stringify(item) === '{}' || JSON.stringify(item) === '[]'))
if ((item === undefined || item === null || item === "") || (item.constructor === Array || item.constructor === Object) && Object.keys(item).length === 0)
网友评论