Last active
May 27, 2020 19:46
-
-
Save leonidkuznetsov18/bde2e2cbf388350a6ed02820e5a4ea0f to your computer and use it in GitHub Desktop.
Array plus Array (codewars)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function arrayPlusArray(arr1, arr2) { | |
return arr1.concat(arr2).reduce((acc, cur) => acc + cur); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment