4 ms·
if something can be returned as undefined instead of a function, then yes, you are forced to either write code to handle the undefined value, or modify your log
by amatecha 7y ago
if something can be returned as undefined instead of a function, then yes, you are forced to either write code to handle the undefined value, or modify your logic so the returned value can only be a function :)