Falsy Bouncer

 

真假美猴王!

删除数组中的所有假值。

在JavaScript中,假值有falsenull0""undefinedNaN

posted @ 2017-04-03 21:39  稀算客  阅读(137)  评论(0编辑  收藏  举报