DEV Community

Discussion on: Everything you should know about Javascript functions

Collapse
 
celebritydev profile image
Saviour Essien

Stopping a function from running is when you return false; Returning false stops the function from executing further.