Last active
February 8, 2017 21:22
-
-
Save dejwid/2d6188190a5df257658801f093519595 to your computer and use it in GitHub Desktop.
Why i love es6
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 = function(a,b) { | |
return a+b; | |
}; | |
var sum (a,b) => a+b; | |
var square = function(a) { | |
return a*a; | |
}; | |
var square = a => a*a; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment