You should understand that most of these tricks are rather hacks and not something you should use in your daily development. The purpose of that article is to explain how they work, not to push to use them.
!! to convert value into a boolean
if expression, it will either let you go by true-branch (i.e. it’s ‘truthy’) of by false
Continue reading →