Beyond the boolean values true and false, JavaScript has the concept of variables and literals being truthy or falsy. This concept is at the heart of seasoned JavaScript developers. Solve this question to check how true or false is your understanding of truthy and falsy. And, don't forget to read the explanation!
These are 2 functions to test whether a passed argument is true or false:
function isFalseA(v) { return !v; }
function isFalseB(v) { return v == false; }
What is the output of calling above 2 functions for 'null' argument as follows?
console.log(isFalseA(null));
console.log(isFalseB(null));