I\'m about to use forOwn to iterate through an object\'s properties and create an array manually and can\'t helping thinking there\'s a oneliner already availab
forOwn
You can use pairs if it fits your case:
pairs
_.pairs({ 'barney': 36, 'fred': 40 }); // → [['barney', 36], ['fred', 40]]
Ref: https://lodash.com/docs#pairs