is undefined, so lastSuccess will be undefined and lastSuccessIndex will be -1, so I would say it's safe.