1. Functions or methods in programming that can modify the state of an object or data structure they operate on, rather than returning a new modified copy
In JavaScript, Array.push() is a mutable function that modifies the original array.
Em JavaScript, Array.push() é uma função mutável que modifica o array original.
2. Programming functions that have side effects by changing the internal state of objects or external variables
Using mutable functions can lead to unexpected behavior if not carefully managed in concurrent programs.
Usar funções mutáveis pode levar a comportamentos inesperados se não forem cuidadosamente gerenciadas em programas concorrentes.