Typescript String Not In Array Javascript Iterations Defined Fitness