> To do that we can simply return without returning anything i.e. null.
I'm no JavaScript expert, but a function that returns nothing results in undefined, no?
I'm no JavaScript expert, but a function that returns nothing results in undefined, no?
However, null==undefined so you might not even notice the difference.