Node Js Check If Element Exists In Array Literal And Non Literal Examples