Explaining the difference of Function and Procedure in WebStorm