The Vec setItem(index, it) method should: