Methods and this

A method is a function that belongs to an object, and inside it the word this means the object before the dot, so one method can work on whichever object calls it.

Updated

Cheat sheet: Methods and this
Category
JavaScript
Level
Apprentice
Tags
JavaScript, Method (javascript), Object Literal, OOP, this (javascript)