When I first started learning JavaScript, I mostly focused on what the
code should do.
If I needed to change an array, I would change the array.\
If I needed to reuse some logic, I would put it inside a function.\
If I needed to process data, I would probably reach for a for loop.






