filter is to meet the conditions to stay, it is to filter the original array; map is to process the original array, and map it into a new array of one-to-one mapping
The difference between map and filter
Guess you like
Origin blog.csdn.net/weixin_45818290/article/details/126741523
Ranking