9
palecio
8y

Promise.resolve() in js. You have a string but need a promise? Just do a Promise.resolve(str) and boom! You can 'then' the shit out of your string...

Comments
Add Comment