slice()、splice(),slice()、substring()、substr(), ES6 find 、findIndex,indexOf、includes區別

slice()與splice()的用法和區別

參考:https://blog.csdn.net/wxl1555/article/details/79388292

快速區分slice()、substring()、substr()

參考:https://blog.csdn.net/qq_38209578/article/details/86086550

es6 數組實例的 find() 和 findIndex()

參考:https://blog.csdn.net/qq_30100043/article/details/53303768

indexOf方法和ES6的includes方法

參考:https://blog.csdn.net/wangcuiling_123/article/details/78523066

https://blog.csdn.net/gtLBTNq9mr3/article/details/78700118

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章