I could not figure out why my (simple, one line or so of code wouldn’t work) then I noticed that you are not allowed to have a space between the word Promise and the (
Just thought I would mention it. I thought whitespace didn’t matter, but I guess sometimes it does.
**Your code so far**
/*
const makeServerRequest = new Promise ((resolve, reject)=>{});//This one does NOT work - you can't have a space between Promise and the opening bracket (
*/
const makeServerRequest = new Promise((resolve, reject) => {});//This one DOES work: no space!
**Your browser information:**
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36 Edg/101.0.1210.39
Challenge: Create a JavaScript Promise
Link to the challenge: