how to check if a key name is present in an object or not code example
Example: check if a key exists in an object javascript
"key" in obj // true, regardless of the actual value
"key" in obj // true, regardless of the actual value