Created
January 21, 2019 11:33
-
-
Save noorfathima11/2b573c1c749e535c8fdbfa5378ebf3d5 to your computer and use it in GitHub Desktop.
Sum of elements in an Array
This file contains hidden or 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
array.reduce((a,b) => a+b); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment