javascript check all values in object code example Example: js check if obj all false Object.keys(obj).every((k) => !obj[k])