Some Method In Javascript Array Contains Method Java