Find String In Array Javascript Function Declaration Vs Arrow