I was wondering which was the appropriate way to reset an array to initial state, and so delete all the elements that it contains.
I found the following ways:
paidPlayers.length = 0
array = new type(0)
I understand that those are equivalent from a result point of view, however I suppose there are differences about gas usage