Jika elemen dalam Dict JavaScript

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