Created
June 16, 2016 15:22
-
-
Save jasonbellamy/f15129dc4a2723f7a706dfd1c670c7ca to your computer and use it in GitHub Desktop.
file-generator - https://jsbin.com/medagogeyo/1/edit?js,console
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
const generator = (x, y = x) => { | |
return {x: `_${x}`, y}; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
☝️ that's how us professional JS devs do it, one day you'll get there too @jasonbellamy