by saagarjha · 7y ago · 0 comments
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.