As a JavaScript developer, you are writing a handful of new features that happen to share functionality.
Capella University JavaScript Developer Programming Discussion
Question Description
It is not a repeating task.
Write 500 words
Let’s consider the following scenario. As a JavaScript developer, you are writing a handful of new features that happen to share functionality. To the customer, they are distinct deliverables, but to you and your team, it’s repetitive functionality with maybe one or two tweaks in each case. For example, the client would like a list of artists and their respective paintings and another list of classical musicians and the albums they have composed rendered on different web pages.
What should the function names be? What should they return and what logic should be written?