Created
October 18, 2018 21:25
-
-
Save Paratron/8c07e399712ed5e2a4fd42494fbd0d7f 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
const myObject = ['a', 'b', 'c'].reduce((obj, key) => (obj[key] = key, obj), {}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment