diff --git a/.idea/jsLibraryMappings.xml b/.idea/jsLibraryMappings.xml new file mode 100644 index 00000000..114b52f2 --- /dev/null +++ b/.idea/jsLibraryMappings.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/libraries/stack_overflow_copy_paste_node_modules.xml b/.idea/libraries/stack_overflow_copy_paste_node_modules.xml new file mode 100644 index 00000000..6035b72a --- /dev/null +++ b/.idea/libraries/stack_overflow_copy_paste_node_modules.xml @@ -0,0 +1,14 @@ + + + + + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 00000000..5e5de6a2 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/stack-overflow-copy-paste.iml b/.idea/stack-overflow-copy-paste.iml new file mode 100644 index 00000000..cb13aaab --- /dev/null +++ b/.idea/stack-overflow-copy-paste.iml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 00000000..94a25f7f --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 00000000..36a671f9 --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,270 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1458812986899 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/flatten.js b/src/flatten.js index de052030..31327e12 100644 --- a/src/flatten.js +++ b/src/flatten.js @@ -11,5 +11,6 @@ export default flatten function flatten() { return [].slice.call(arguments).reduce(function flattenReducer(flat, toFlatten) { return flat.concat(Array.isArray(toFlatten) ? flatten.apply(null, toFlatten) : toFlatten) + }, []) }