DEV Community

Discussion on: Checking if an Object has a Property

Collapse
 
pawelmiczka profile image
Paweł Miczka

There are some downside using hasOwnProperty and it can be replaced with simple users.Alan !== undefined