Some Method In Javascript Array Slice