Last active
August 29, 2015 14:20
-
-
Save alexeisavca/98806845c3a549ac8a24 to your computer and use it in GitHub Desktop.
obj2array
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
module.exports = function(obj){ | |
return Object.keys(obj).map(function(key){ | |
return obj[key]; | |
}); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment