Reduce Method In Javascript Array Find Example Lottery