var obj = { key: undefined }; console.log("key" in obj); // true, regardless of the actual value Run code snippet