Promises chapiter

i had a question about this chapiter if how to create a function executor you had write this function combined by the arrow function and the simple form like this :
const returnPromiseFunction = () => {
return new Promise((resolve, reject) => {
setTimeout(( ) => {resolve(‘I resolved!’)}, 1000);
});
};

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.