inArray() and the splice() methods