ES6学习笔记(五)数组的扩展

1.扩展运算符

 

 

 

 

 

 

 

 

 

 

 

 

 


 

2. Array.from()

 

 

 

 

 

 

 

 

 


3. Array.of() 

 


4. 数组实例的 copyWithin()

 

 

 

 


 

5. 数组实例的 find() 和 findIndex()

 

 

 

 

 

 

 

 

 

 


6. 数组实例的 fill()

 

 

 

 

 

 


7. 数组实例的 entries(),keys() 和 values()


 

8. 数组实例的 includes()

 

 

 


9. 数组实例的 flat(),flatMap()

 

 

 

 

 

 

 


10. 数组的空位

 

 

 

 

 

 

 

 

 


11. Array.prototype.sort() 的排序稳定性

 

 

 

posted @ 2020-10-19 17:04  oilweng  阅读(85)  评论(0编辑  收藏  举报