Lesson 7: comment on the example
1 changed files with 2 additions and 0 deletions
lessons/07-fetch-and-promises/fetch.js
| @@ -5,3 +5,5 @@ | ||
| 5 | 5 | }) |
| 6 | 6 | .then(repo => console.log(`${repo.full_name}: ${repo.stargazers_count} stars`)) |
| 7 | 7 | .catch(err => console.error("Request failed:", err.message)); |
| 8 | + | |
| 9 | +// Try changing the values above and run it again. | |