Contains Method In Javascript Array Map Method