DEV Community

Discussion on: Best Practice - Check if property exist and assign

 
mlueckl profile image
Michael Lueckl

I did indeed run into the case that I added another statement and missed the brackets :)
But overall I agree, was thinking there is a specific technical reason.

Thanks!