You can simply push the existing elements into other array (the example removes every "falsy" value: undefined, null, 0, false, NaN and '').
確定! 回上一頁