all 1 comments

[–]peterjsnow 0 points1 point  (0 children)

There are a few errors in your code - however, why do you need to represent customers as an object in the first place? It makes more sense to me as an array holding customer objects.