A method that sets the value of a specific property.
"Setters are used in object-oriented programming to control changes to a private variable."
— @github · February 22, 2024