Tell us what’s happening:
Describe your issue in detail here.
You should assign a promise to a declared variable named makeServerRequest
.
Your code so far
const makeServerRequest = new Promise ((resolve ,reject) =>{
});
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36
Challenge: Create a JavaScript Promise
Link to the challenge:
Your code passes for me, what exactly is the issue?
const makeSeverRequest = new Promise((resolve, reject) => {
sum(resolve,reject);
})
error is : You should assign a promise to a declared variable named makeServerRequest
.
q: Create a JavaScript Promise
myAns:
const makeSeverRequest = new Promise((resolve, reject) => {
})
error: You should assign a promise to a declared variable named makeServerRequest
.
The code from your first post was already correct, but now there’s a typo in makeSeverRequest
, you’re missing an r
.
1 Like
system
Closed
December 1, 2021, 12:50am
6
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.