Browse Source

[head]: add missing export

mightyplow 7 years ago
parent
commit
5faf6aba93
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/array/head.js

+ 3 - 1
src/array/head.js

@@ -10,4 +10,6 @@ const head = (ar) => {
 
     const [head, ...rest] = ar;
     return head;
-};
+};
+
+export default head;