Skip to content

Instantly share code, notes, and snippets.

@alexeisavca
Last active August 29, 2015 14:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexeisavca/98806845c3a549ac8a24 to your computer and use it in GitHub Desktop.
Save alexeisavca/98806845c3a549ac8a24 to your computer and use it in GitHub Desktop.
obj2array
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