74,800 results
Open links in new tab
  1. JavaScript return Statement - W3Schools

    The return statement stops the execution of a function and returns a value. Read our JavaScript Tutorial to learn all you need to …

  2. return - JavaScript | MDN - MDN Web Docs

    Jul 8, 2025 · The return statement ends function execution and specifies a value to be returned to the function caller.

  3. How To Use Return in JavaScript? - GeeksforGeeks

    Jul 23, 2025 · The return statement in JavaScript is used to end a function execution and send a value back to where the function …

  4. JavaScript Function Return Values - W3Schools

    The return Statement When a function reaches a return statement, the function stops executing. The value after the return keyword …

  5. JavaScript Return Statement - GeeksforGeeks

    Jul 23, 2025 · The return statement in JavaScript is used to end the execution of a function and return a value to the caller. It is used …

  6. What does "return" do in Javascript? - Stack Overflow

    Jun 10, 2017 · Many built-in JavaScript functions have a return value: Math.min () returns the smallest of the arguments passed to it, …

  7. How to return values in javascript - Stack Overflow

    Feb 23, 2017 · JavaScript passes a value from a function back to the code that called it by using the return statement. The value to …

  8. JavaScript Function Return Statement: A Complete Beginner's Guide

    Aug 11, 2025 · By adding a return, a function goes from just carrying out instructions to returning meaningful data. In this guide, we’ll …

  9. return — JavaScript Reference — jsschools

    Reference / JavaScript / statements return Ends function execution and optionally specifies a value to return.

  10. JavaScript return Statement: Syntax & Examples

    Jun 23, 2026 · JavaScript return ends a function and sends back a value. Learn how it stops execution, the undefined default, and …

  11. Some results have been removed