Created
March 17, 2018 03:38
-
-
Save waimyokyaw/49094f17c3e2dba41ae3c8901a8e04fa to your computer and use it in GitHub Desktop.
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
var sum = [1, 2, 3].reduce((a, b) => a + b, 0); | |
console.log(sum); // 6 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment