return statement

the following statement in javascript is supposed to return true

return;

But it returns undefined. I have to explicitly write like the following

return true;

to return true

Am I correct or missing something?

Also if a method does not return anything it is supposed to return true?
It is not doing that now.

if you do return; then nothing is returned. Why should it you don’t specify (define) anything so it will return a javascript ‘undefined’