JS Truthy and Falsey
In the name of Allah the most merciful and the most gracious.
In this article I intended to transfer my Truthy and Falsey values to you. I hope you enjoy reading 📚 this article.
- ‘ ‘ means empty string
If you try these falsey values in your code editor then you’ll suss it out that these are falsey values.
We can change falsey values into truthy and vice-versa by using ! Operator.
!true -> false
And others are truthy values like:string,number…