Ensure Object.keys([9,,undefined,9])==[0,2,3] (partial #349)