anyone know how to return a property name of an object rather than the value
function getAlbumProperties (obj)
{
return obj.a
}
getAlbumProperties({a: 'foo', b: 'car', c: 'bar'} )
E.g. {a: ‘foo’, b: ‘car’, c: ‘bar’} should return [‘a’, ‘b’, ‘c’]