I ran across some code that interrupts a function return void(0);
.
I believe that is being used to return undefined
but that can be done simply by writing return;
.
Does return void(0);
serve an additional purpose, or is this just two different ways to interrupt a function?