Is
return false
the same as:
return
It's returning undefined it's commonly used to break execution of the following lines in the function
undefined
No. They are not the same. Returning false from a function returns the boolean false, where a void return will return undefined.
false