You can use JavaScript's filter() function before you map() to remove the values you don't want to map. const array = [1, 2, 3, 4, 5]; // ...
確定! 回上一頁