JavaScript function - Search
About 695,000 results
Open links in new tab
    Kizdar net | Kizdar net | Кыздар Нет
  1. JavaScript Functions - W3Schools

    A JavaScript function is a block of code designed to perform a particular task. A JavaScript function is executed when "something" invokes it (calls it).

  2. Functions - JavaScript | MDN - MDN Web Docs

    Mar 22, 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 input and return an output where there is some obvious relationship between the …

  3. Functions in JavaScript - GeeksforGeeks

    Apr 15, 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 actions, and return outputs.

  4. Functions - The Modern JavaScript Tutorial

    Oct 14, 2022 · A function is an action, so function names are usually verbal. There exist many well-known function prefixes like create… , show… , get… , check… and so on. Use them to hint what a function does.

  5. Function - JavaScript | MDN - MDN Web Docs

    Jul 15, 2024 · The Function object provides methods for functions. In JavaScript, every function is actually a Function object.

  6. JavaScript Functions

    When calling a function, JavaScript executes the code inside the function body. For example, the following shows how to call the say() function: say( 'Hello' ); Code language: JavaScript ( javascript )

  7. JavaScript Tutorial - W3Schools

    JavaScript References. W3Schools maintains a complete JavaScript reference, including all HTML and browser objects. The reference contains examples for all properties, methods and events, and is continuously updated according to the …

  8. JavaScript Function and Function Expressions (with Examples)

    A function is an independent block of code that performs a specific task. A function expression is a way to store functions in variables. In this tutorial, you will learn about JavaScript functions and function expressions with the help of examples.

  9. JavaScript Function Examples - GeeksforGeeks

    Jul 11, 2024 · JavaScript Function Examples A function in JavaScript is a set of statements that perform a specific task. It takes inputs, and performs computation, and produces output.

  10. JavaScript Function Definitions - W3Schools

    JavaScript functions are defined with the function keyword. You can use a function declaration or a function expression.

  11. Some results have been removed