Typescript String Not In Array Javascript Iterations Of The Mandelbrot