All new
alle new
This commit is contained in:
1 parent
da64472251
commit
5b20adee48
1605 files changed
+396517
-1674
No files matched your search
+6
@@ -0,0 +1,6 @@
|
||||
import filter from './filter.js';
|
||||
|
||||
// Trim out all falsy values from an array.
|
||||
export default function compact(array) {
|
||||
return filter(array, Boolean);
|
||||
}
|
||||
Reference in new issue
Block a user