What does return do in JavaScript
Like other programming languages, JavaScript allows using return statements in functions. A return statement does the followings - Halts function execution and returns control to calling module Returns one or many values....