We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
let promiseTwo = new Promise((resolve, reject) => { resolve("a"); }); promiseTwo .then((res) => { return res + "b"; }) .then((res) => { return res + "с"; }) .finally((res) => { return res + "!!!!!!!"; }) .catch((res) => { return res + "d"; }) .then((res) => { console.log(res); });
The text was updated successfully, but these errors were encountered:
and in console i have this error
console.js:288 DOMException: Failed to execute 'btoa' on 'Window': The string to be encoded contains characters outside of the Latin1 range. at https://www.jsv9000.app/static/js/main.61ee41a9.chunk.js:1:16875 at Xo (https://www.jsv9000.app/static/js/2.7f47a97c.chunk.js:1:671404) at ja (https://www.jsv9000.app/static/js/2.7f47a97c.chunk.js:1:680292) at bs (https://www.jsv9000.app/static/js/2.7f47a97c.chunk.js:1:719153) at bl (https://www.jsv9000.app/static/js/2.7f47a97c.chunk.js:1:710558) at vl (https://www.jsv9000.app/static/js/2.7f47a97c.chunk.js:1:710483) at ul (https://www.jsv9000.app/static/js/2.7f47a97c.chunk.js:1:707485) at https://www.jsv9000.app/static/js/2.7f47a97c.chunk.js:1:658675 at t.unstable_runWithPriority (https://www.jsv9000.app/static/js/2.7f47a97c.chunk.js:1:734345) at Hi (https://www.jsv9000.app/static/js/2.7f47a97c.chunk.js:1:658385)
Sorry, something went wrong.
everything works with other tasks
No branches or pull requests
let promiseTwo = new Promise((resolve, reject) => {
resolve("a");
});
promiseTwo
.then((res) => {
return res + "b";
})
.then((res) => {
return res + "с";
})
.finally((res) => {
return res + "!!!!!!!";
})
.catch((res) => {
return res + "d";
})
.then((res) => {
console.log(res);
});
The text was updated successfully, but these errors were encountered: