To remove empty array slots in #JavaScript, you can use the built-in method "flat()" ... Im a big fan of array.filter(Boolean) for this.
確定! 回上一頁