About 1,610,000 results
Open links in new tab
  1. JavaScript Functions - W3Schools

    Well organized and easy to understand Web building tutorials with lots of examples of how to use HTML, CSS, JavaScript, SQL, Python, PHP, Bootstrap, Java, XML and more.

  2. Functions - JavaScript | MDN

    Jul 8, 2025 · A function in JavaScript is similar to a procedure—a set of statements that performs a task or calculates a value, but for a procedure to qualify as a function, it should take some …

  3. Functions - The Modern JavaScript Tutorial

    Oct 14, 2022 · The function keyword goes first, then goes the name of the function, then a list of parameters between the parentheses (comma-separated, empty in the example above, we’ll …

  4. JavaScript Functions

    This tutorial introduces you to JavaScript functions that structure your code into smaller reusable units.

  5. Functions in JavaScript - GeeksforGeeks

    Sep 13, 2025 · Functions in JavaScript are reusable blocks of code designed to perform specific tasks. They allow you to organize, reuse, and modularize code. It can take inputs, perform …

  6. Functions - web.dev

    Mar 31, 2024 · Functions are thought of as "first class" objects, meaning that despite their unique behavior, they can be used in all the same contexts as any other JavaScript object. For …

  7. JavaScript Functions: From Basics to Advanced

    Learn what are functions in JavaScript. Explore the basics of functions in JavaScript, including anonymous and arrow functions, and learn how to organize your code using functions.

  8. Learn JavaScript: Functions Cheatsheet | Codecademy

    A function is a reusable set of statements to perform a task or calculate a value. Functions can be passed one or more values and can return a value at the end of their execution.

  9. JavaScript/Functions - Wikibooks, open books for an open world

    Feb 13, 2023 · Functions are a data type derived from Object; they can be bound to variables, passed as arguments, and returned from other functions, just as any other data type.

  10. JavaScript Function Examples - GeeksforGeeks

    Dec 1, 2025 · JavaScript functions are reusable blocks of code designed to perform a specific task. They help organize your program, reduce repetition, and make your code easier to read …