arrow_back
Back

JavaScript Boolean and truthy vs falsy values

Andrew Dorokhov Andrew Dorokhov schedule 1 min read
menu_book Table of Contents

Conversion to boolean

Boolean('hello');   // we will get boolean type.
!!'hello';          // we will get boolean type.
code

Need Help with Development?

Happy to help — reach out via the contacts or go straight to my Upwork profile.

work View Upwork Profile arrow_forward
Next Article

JavaScript String: methods, Unicode, and template literals

arrow_forward