1
2
3
4
5
6
7
8
9
10
To practice on your own, or to check code you believe shouldn't have been scored as incorrect, go to CodePen.
0,1,2,3,4,5,6,7,8,9
0
0
0
0
The name of the promise is prom. Fill in the blank. | ___________(function(message) { console.log(message); }).catch(function(message) { console.log(message); }); |
prom.then | prom\.then |
Fill in the blank. | prom.then(_________(message) { console.log(message); }).catch(function(message) { console.log(message); }); |
function | function |
Fill in the blank. | prom.then(____________ { console.log(message); }).catch(function(message) { console.log(message); }); |
function(message) | function\(message\) |
Fill in the blank. The name of the promise is prom. | _________________________ console.log(message); }).catch(function(message) { console.log(message); }); |
prom.then(function(message) { | prom\.then\(function\(message\){ |
Fill in the blank. | prom.then(function(message) { console.log(_______); }).catch(function(message) { console.log(message); }); |
message | message |
Fill in the blank. | prom.then(function(message) { console.log(message); })_______(function(message) { console.log(message); }); |
.catch | \.catch |
Fill in the blank. | prom.then(function(message) { console.log(message); ________(function(message) { console.log(message); }); |
}).catch | }\)\.catch |
Fill in the blank. | prom.then(function(message) { console.log(message); ________________________ console.log(message); }); |
}).catch(function(message) { | }\)\.catch\(function\(message\){ |
|
|||
|