About 84,500 results
Open links in new tab
  1. JavaScript return Statement - W3Schools

    The return statement stops the execution of a function and returns a value.

  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 · In JavaScript, the return statement is used to specify the value that a function should produce when it is called. It helps …

  4. JavaScript Function Return Values - W3Schools

    A function can return a value back to the code that called it.

  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. Function return values - Learn web development | MDN

    5 days ago · Function return values Previous Overview: Dynamic scripting with JavaScript Next There's one last essential concept …

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

    Aug 11, 2025 · When you start learning JavaScript, you quickly realize that functions are everywhere. By adding a return, a function …

  8. 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 …

  9. JavaScript Return True or False: When to Use, How, and Why (After ...

    Jan 16, 2026 · This blog dives deep into boolean returns in JavaScript: from the basics of how to return `true`/`false`, to real-world …

  10. 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, …