About 283,000 results
Open links in new tab
  1. How do I model an object thats returned from a function call in a ...

    Dec 28, 2015 · When an operation is performed in an object / class (rectangles), then, a returning dotted arrow should go back to the line and object where it came from. If a value is returned …

  2. uml - Diagrams for JavaScript functions - Stack Overflow

    Jun 2, 2011 · What tools can be used to convey concepts like JavaScript variable scoping and closures clearly in something similar to UML sequence diagrams? For example, how can code …

  3. JavaScript Return Statement - GeeksforGeeks

    Feb 7, 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 to control function behaviour and optimise code execution.

  4. What does "return function () { ... }" do in JavaScript?

    Aug 4, 2011 · f is a function that takes another function (called a), and returns a newly generated function that will evaluate a and pop up an alert box showing the result.

  5. Part 6: JavaScript Functions → Returning Functions from Functions

    Mar 23, 2019 · Functions are the same data as numbers or strings, so functions can be passed to other functions as arguments, as well as returned from functions. We can even define a …

  6. The Ultimate Guide to Creating Diagrams with JavaScript

    May 29, 2024 · Creating diagrams with JavaScript is a powerful way to visualize complex data and processes. By choosing the right library, setting up the data, and customizing the chart, …

  7. 20+ JavaScript libraries to draw your own diagrams (2024 edition)

    Jan 10, 2024 · Discover the power of JavaScript for your diagramming needs! Our comprehensive guide features over 20 top JavaScript libraries to create dynamic UML, ER, BPMN diagrams …

  8. return - JavaScript | MDN

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

  9. The Anatomy of a JavaScript Function (part 1) - Medium

    Dec 3, 2018 · We can choose what our function outputs using the return keyword. The curly brackets and the code inside are referred to as a block of code. A block of code usually spans …

  10. function - Can you explain return in javascript? - Stack Overflow

    Jan 15, 2015 · return returns a value, object, Boolean etc. if you set it in a function. When return is called it ends the functions there returning the result you set. By default JavaScript function …

  11. Some results have been removed
Refresh