elrut,
function bouncer(arr) {
function isBigEnough(value) {
if (value !== undefined && value !== null && value !==0 && value !== "" && !isNaN(value) && value !== false) {
return true;
};
return false;
}
var b = arr.filter(isBigEnough);
return b;
}
itog = bouncer([false, null, 0, NaN, undefined, "",78]);
alert(JSON.stringify(itog));