How to exit a JavaScript function
A JavaScript function can be exited by using the 'return' keyword or throwing an error.
A JavaScript function can be exited by using the 'return' keyword or throwing an error.
There are seven values in JavaScript that convert to Boolean false in a logical statement