Mutation
Changing a value that is already stored, rather than making a new one. A function that mutates its input surprises every other caller that holds the same value.
- See also: Reference
- Used in: Data Structure Basics
Changing a value that is already stored, rather than making a new one. A function that mutates its input surprises every other caller that holds the same value.