Created
July 18, 2017 09:12
-
-
Save kutyel/7f9f4c3b64d2295ad7d2e1a08acf8a14 to your computer and use it in GitHub Desktop.
New Object.values() in ES2017
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 quirks = { | |
midoriya: 'One For All', | |
uraraka: 'Zero Gravity', | |
bakugo: 'Explosion' | |
}; | |
console.log(Object.values(quirks)); | |
// > ['One For All', 'Zero Gravity', 'Explosion'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment