What is the difference between “someFunction()”, “JavaScript:somFuction()”, and “return someFunct()” in form onsubmit attribute?

I’m wondering the differences are between calling a JavaScript function in these different ways from a form. Method 1

Method 2