Last active
June 13, 2019 19:47
-
-
Save JimRottinger/40282e75f9ada87a87ad940c22de90b6 to your computer and use it in GitHub Desktop.
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
function sum({a = 1, b = 2, c = 3}) { | |
return a + b + c | |
} | |
sum({b: 10, a: 5}) // 5 + 10 + 3 = 18 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment