Array::removeLast() and negative values

Array::removeLast() accepts negative values and does not deal correctly with them:
if a negative value is passed, numUsed is set to a wrong value (which can exceed the allocated size).
it should probably assert and ignore?

Yes, as assertion would go well in there, I’ll sort that out…