includes object js code example
Example: javascript object includes
const person = {
first_name: "Sam",
last_name: "Bradley"
};
Object.values(person).includes("Bradley");
const person = {
first_name: "Sam",
last_name: "Bradley"
};
Object.values(person).includes("Bradley");