please I need help with this
const obj = {a=””, b=”good”, c=false, d=””, e=”excellent”}
I just want to know total empty and false. where my answer is suppose to be 3.
for (let k in obj) {
if (obj[k] === '' || obj[k] === false) {
//console.log(k);
}
}
Any pointers will be greatly appreciated
THank you