Truthy and Falsy in JavaScript

added by DotNetKicks
12/31/2019 2:29:09 PM

497 Views

Many times, we observe in JavaScript that some values when used in a boolean context, behave as true or false, this is not common in other languages. For many experienced developers, even they get used to it but it is a mystery while for new developers it is confusing.


0 comments