This leads to bugs. You might accidentally change a property later and break your application. Use these two patterns instead to write clean code. 1. Factory Functions Think of a real factory. Raw ...