Created
December 7, 2015 11:30
-
-
Save ratul0/0c0d7680dda028f48d91 to your computer and use it in GitHub Desktop.
Default parameter in ES6
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
| var person = function(name = "rat"){ | |
| return name; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment