javascript筆記 How to easily truncate an array with JavaScript? 我有一個類似 stack 的 array , 想只保留 array 裡的前N筆. 使用的情境是有一個檔案瀏覽時 Read More 2023-05-11