Truthy and falsy Values
When values are set to True, it’s truthy otherwise false. There are only six values are falsy and rest are considered as truthy values.
“null vs undefined”
“null” is a value which is assigned to a variable. It represents no value as a result. …