About 607,000 results
Open links in new tab
  1. Function.prototype.apply () - JavaScript | MDN

    Jul 10, 2025 · With apply(), you can assign an arbitrary value as this when calling an existing function, without first attaching the function to the object as a property. This allows you to use …

  2. JavaScript Function apply () Method - W3Schools

    The Difference Between call () and apply () The call() method takes arguments separately. The apply() method takes arguments as an array. The apply () method is very handy if you want to …

  3. Explain call (), apply (), and bind () methods in JavaScript

    Aug 2, 2025 · JavaScript provides the call (), apply (), and bind () methods for setting the this context within a function. These methods are especially useful when working with object …

  4. JavaScript apply () Method By Practical Examples

    In this tutorial, you'll learn about the JavaScript apply () method of the Function type and how to use it effectively.

  5. How to Use the Call, Apply, and Bind Functions in JavaScript – …

    Jun 20, 2022 · In this article, I am going to explain how to use call, apply, and bind in JavaScript with simple examples. We will also implement an example that showcases how you can create …

  6. JavaScript apply () Method: A Complete Tutorial with Examples

    Oct 6, 2024 · The apply () method in JavaScript is used to call a function with a given this value and an array (or array-like object) of arguments. It’s similar to the call () method, but while call …

  7. Javascript Function apply () (With Examples) - Programiz

    In this tutorial, you will learn about the JavaScript Function apply () method with the help of examples. In this article, you will learn about the apply () method of Function with the help of …

  8. JavaScript .call (), .apply (), and .bind () Explained — Use Cases ...

    Jul 13, 2025 · Struggling with .call (), .apply (), and .bind () in JavaScript? This practical guide breaks down how they work, real-world use cases, and performance tips — with simple …

  9. JavaScript Function Apply () - W3Schools

    In JavaScript strict mode, if the first argument of the apply() method is not an object, it becomes the owner (object) of the invoked function. In "non-strict" mode, it becomes the global object.

  10. JavaScript apply () method - W3schools

    JavaScript apply () method The Javascript handler applies () method traps for a function call. Syntax: