I have object like this:
titles: {
dr: 'Dr',
prof: 'Prof',
profdr: 'Prof Dr'
}
How can I transform it into array like this:
['Dr', 'Prof', 'Prof Dr']
Method should be dynamic because I need it for multiple objects with different number of properties.