About 138,000 results
Open links in new tab
  1. JavaScript Methods - 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. Method definitions - JavaScript - MDN

    Jul 8, 2025 · Method definition is a shorter syntax for defining a function property in an object initializer. It can also be used in classes.

  3. JavaScript Object Methods

    Summary: in this tutorial, you’ll learn about JavaScript object methods and how to define methods for an object. An object is a collection of key/value pairs or properties. When the value is a …

  4. JavaScript Methods and this Keyword (with Examples) - Programiz

    A JavaScript method is a function defined within an object. We use this keyword in a method to access a property of the same object. In this tutorial, you will learn about JavaScript methods …

  5. Object methods, "this" - The Modern JavaScript Tutorial

    May 18, 2024 · In JavaScript, keyword this behaves unlike most other programming languages. It can be used in any function, even if it’s not a method of an object. There’s no syntax error in …

  6. JavaScript Methods | Open Coding

    Oct 27, 2024 · Methods in JavaScript are essentially functions inside of objects. To refresh your memory, objects are anything with Key-Value Pairs inside of them (ex: Name: “Alex”), and …

  7. JavaScript Object Methods - GeeksforGeeks

    Jul 30, 2025 · Functions in JavaScript are stored as property values. The objects can also be called without using brackets (). In a method, 'this' refers to the owner object. Additional …

  8. JavaScript Methods - Codecademy

    Aug 20, 2024 · Learn how to use JavaScript — a powerful and flexible programming language for adding website interactivity. Methods are object properties that contain functions.

  9. Working with objects - JavaScript | MDN - MDN Web Docs

    Aug 27, 2025 · Working with objects Previous Next JavaScript is designed on an object-based paradigm. An object is a collection of properties, and a property is an association between a …

  10. Methods - The complete JavaScript Tutorial

    Whenever a function is declared on an object or a class, it's referred to as a method, and by doing so, our objects become more than just containers for data - they can actually do something.