In JavaScript functions, do I need to return something (true or false) ? So far, all the functions I wrote without returning anything work just fine. I\'m just curious.
No; Javascript functions are not required to return a value.
If you call a function that doesn't return a value, you'll get undefined as the return value.
return
undefined