dpes8693 / frontend-mentor-program-1rd

前端培訓
0 stars 1 forks source link

汪宗諺_HW3、Question #27

Closed DarkShadow9321 closed 2 months ago

DarkShadow9321 commented 3 months ago

repo連結(ES6-Note):https://github.com/DarkShadow9321/ToDoList1.git https://darkshadow9321.github.io/ToDoList1/ Questions: 1.請問純陣列和類陣列的差別、用法有什麼不一樣?

dpes8693 commented 3 months ago
dpes8693 commented 3 months ago

repo連結(ES6-Note):https://github.com/DarkShadow9321/ToDoList1.git https://darkshadow9321.github.io/ToDoList1/ Questions: 1.請問純陣列和類陣列的差別、用法有什麼不一樣?

白話來說就好比機車vs腳踏車 腳踏車又可稱為類機車 兩者都能騎

重點在:類陣列沒有陣列內建的一些方法 用法可參考: https://kentdoit.github.io/javascript/3574120313/