how to check all the keys of an obejct in js code example Example: check all values from keys in object js Object.values(obj).some(val => val !== false)