I have the following promise
let oembedData = oembed(uuid)
    .then(res => res);
console.log(oembedData);
What I'm hoping to achieve is to return the res to oembedData so the value can be used.
I know I can do
let oembedData;
oembed(uuid)
    .then((res) => {
        oembedData = res;
        console.log(oembedData);
    });
but I feel this way isn't as clean as the former example.
When I use the former my console log returns Promise {$$state: {…}}
