Prototype - Design Pattern
Objective ๐ฏ
Allow to create an object from cloning another object (Prototype), to hide the complexity of making new instances and to avoid costly operations.
Notes ๐
โข When 2 objects have the same reference it means that they are sharing the same s...
victorlins.hashnode.dev3 min read