DEV Community

Discussion on: JavaScript check if property exists in Object

Collapse
 
dailydevtips1 profile image
Chris Bongers

Yeah that's why I mentioned the undefined check to be the least favorite one of all.
It get's messy and very prone to cause headaches later on.