约 57,000,000 个结果
在新选项卡中打开链接
  1. Functions - JavaScript | MDN

    2025年7月8日 · Functions are one of the fundamental building blocks in JavaScript. A function in JavaScript is similar to a procedure—a set of statements that performs a task or calculates a value, …

  2. Functions in JavaScript - GeeksforGeeks

    2026年1月22日 · 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, …

  3. Functions - web.dev

    2024年3月31日 · 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 example, a …

  4. JavaScript Functions - W3Schools

    A JavaScript function is defined with the function keyword, followed by a name, followed by parentheses (). Function names can contain letters, digits, underscores, and dollar signs (same rules as variables).

  5. async function - JavaScript | MDN

    2025年7月8日 · The async function declaration creates a binding of a new async function to a given name. The await keyword is permitted within the function body, enabling asynchronous, promise …

  6. JavaScript Function Complete Reference - GeeksforGeeks

    2025年8月5日 · A JavaScript function is a set of statements that takes inputs, performs specific computations, and produces outputs. Essentially, a function performs tasks or computations and …

  7. Date - JavaScript | MDN - MDN Web Docs

    JavaScript Date objects represent a single moment in time in a platform-independent format. Date objects encapsulate an integral number that represents milliseconds since the midnight at the …

  8. JavaScript - Wikipedia

    JavaScript is a high-level, often just-in-time–compiled language that conforms to the ECMAScript standard. [12] It has dynamic typing, prototype-based object-orientation, and first-class functions. It is …

  9. JavaScript Syntax - GeeksforGeeks

    2025年7月11日 · JavaScript syntax refers to the rules and conventions dictating how code is structured and arranged within the JavaScript programming language. This includes statements, expressions, …

  10. Functions - JavaScript | MDN

    In JavaScript, functions are first-class objects, because they can be passed to other functions, returned from functions, and assigned to variables and properties. They can also have properties and …