About 283,000 results
Open links in new tab
  1. uml - Diagrams for JavaScript functions - Stack Overflow

    Jun 2, 2011 · I know this is already answered, but here is a good example of using object diagrams to explain functions, closures, objects in JavaScript. https://howtonode.org/object …

  2. return - JavaScript | MDN - MDN Web Docs

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

  3. Functions have access to an additional variable inside their body called arguments, which is an array-like objects holding all of the values passed to that function. Let’s write a function which …

  4. Break the Rules: Creating Diagrams with JavaScript

    Nov 7, 2024 · However, with the rise of HTML5 and JavaScript, it's now possible to create stunning diagrams using JavaScript alone. In this post, we'll break the rules and push the …

  5. 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 know about functions. Start with the introduction chapter about …

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

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

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

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

  10. How To Use Return in JavaScript? - GeeksforGeeks

    Feb 17, 2025 · The return statement in JavaScript is used to end a function execution and send a value back to where the function was called. It allows the function to provide useful results, like …

Refresh