Skip to content

Commit b53ade7

Browse files
theanxymarijnh
authored andcommitted
Fix exercise code in Chapter 17
1 parent d1e755f commit b53ade7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

17_http.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -941,7 +941,7 @@ function all(promises) {
941941
}
942942

943943
// Test code.
944-
all([], function(array) {
944+
all([]).then(function(array) {
945945
console.log("This should be []:", array);
946946
});
947947
function soon(val) {

0 commit comments

Comments
 (0)