Is there a known reason why passing in null as a parameter in ES6 does not use the default parameter when one is provided?
null
function sayHello(nam
null is a value that won't trigger the default value to be used, the default values will be used when the argument is undefined.
undefined