hasbeginnerconst obj = { a: 1 }
console.log(Reflect.has(obj, 'a')) // β true
console.log(Reflect.has(obj, 'b')) // β false
// Equivalent to: 'a' in objReflect.has() checks whether an object has a property, equivalent to the in operator.
When the key does not exist in the object or its prototype chain, Reflect.has() returns false.
Challenge: Verify that Reflect.has({}, 'missing') returns false.