How to check if object includes value in JavaScript

Objects
By Jad Joubran · 
Last updated Feb 26, 2024
const person = {
  firstName: "Sam",
  lastName: "Bradley"
};

// Result is a boolean
Object.values(person).includes("Bradley");
true
Object.values on MDN