In JavaScript, There are 6 falsy values and these are - 0(Zero), ' ' (Empty String), Undefined, Null, NAN, and False. Falsy values are not exactly false initially but will become false when we try to convert them to boolean. console.log(Boolean(null)...

Markdown supported · ⌘↵ to post
No responses yet.