Hello. Tried to understand the pattern of the trimmer, and did not understand. Found implementation - loredanacirstea.github.io/es6-design-patterns/#fly...
Studied and realized for each object a Flyweight object is created. Did the trimmer is not to avoid the creation of unnecessary objects?
So what's the meaning of this pattern?