Too Long; Didn't Read
Some patterns to create an object are: The factory pattern uses a function to abstract away the process of creating specific objects and returning their reference. The prototype pattern adds the properties of the object to the properties that are available and shared among all instances. The constructor pattern defines object properties, while the prototype pattern defines methods and shared properties. This is a combination of the constructor and prototype patterns. The Object Creation Pattern in JavaScript uses the new operator along with the function name to create a new object.