values() and then using the includes() method. const object = { name: "John", age: 30 }; if (Object.values(object).includes("John") ...
確定! 回上一頁