const employee = { id: 1, name: "Jhon", salary: 5000 }; const isSalaryExist = "salary" in employee; console.log(isSalaryExist); //true const isGenderExist = "gender" in employee; console.log(isGenderExist); //false