JSFiddle - React, Tailwind, and code Playground
by Alexander
JavaScript
console.clear();
function kek(p) {
return p
}
const wtf = Promise.resolve(kek(Promise.resolve('Ha')));
console.log(wtf);
wtf
.then(
promise => promise
.then(val => `${val}-Ha`)
.then(val => `${val}!`)
)
.then(console.log)
;