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