Javascript – how can I generate a new name for a new object and then add it to an array
I need to write a function that returns an array of objects. The function will select the winners based on two factors: how much they paid, and their seat number. If both of these numbers are odd, the attendee wins…