how to get the [[PromiseResult]] from a promise code example
Example: [[PromiseResult]]:
let myPromise = new Promise(function(resolve, reject) { let fakeCode = 200 // pretend server status code if (fakeCode === 200) { resolve("I'm beautiful working code."); } else { reject(Error("Uh oh.")); }});