Deletions array change search related method

1, to create an array of methods

  

2, the array conversion method: toString toLocaleString valueOf

  

3、增删:push() pop() shift()  unshilt()  concat()  join()

 

 

     

 

    

 

 

     

 

 

     

 

 

 

 4, splice () and slice ()

  

 

 

 5. Find: indexof () and lastIndexof ()

  

 

 

 6, sort: sort

  

 

 

7, an array of deduplication:

  1)

    

   2)

    

 

   3)

    

 

   4) ES6 common

    

 

   5)

    

 

Guess you like

Origin www.cnblogs.com/qqinhappyhappy/p/11614350.html