DEV Community

Discussion on: Javascript: How to access the return value of a Promise object

Collapse
 
aumartinez profile image
Augusto Martinez

This brought light to an issue I had after being hours looking over the internet, I am just curios that on my implementation (using Vue.js), the first solution works only when arrow functions are used, if I try to convert the arrow function to a regular function, the promise value is never returned.