Skip to content

Commit 4d41b67

Browse files
committed
Exercises translation improvements
1 parent 35a4072 commit 4d41b67

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

1-js/11-async/08-async-await/02-rewrite-async-2/solution.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
There are no tricks here. Just replace `.catch` with `try...catch` inside `demoGithubUser` and add `async/await` where needed:
2+
Non ci sono trucchi qui. Basta sostituire `.catch` with `try...catch` dentro `demoGithubUser` e aggiungere `async/await` quando necessario:
33

44
```js run
55
class HttpError extends Error {

1-js/11-async/08-async-await/02-rewrite-async-2/task.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
Sotto puoi trovare l'esempio "rethrow" dal capitolo <info:promise-chaining>. Riscriverlo usando `async/await` invece di `.then/catch`.
55

6-
E sbarazzarsi della ricorsione a favore di un ciclo in `demoGithubUser`: con `async/await` diventa facile da fare.
6+
Sbarazzarsi della ricorsione a favore di un ciclo in `demoGithubUser`: con `async/await` diventa facile da fare.
77

88
```js run
99
class HttpError extends Error {

1-js/11-async/08-async-await/03-async-from-regular/task.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
# Call async from non-async
33

4-
Abbiamo una funzione "regolare". How to call `async` da essa ed usare il suo risultato?
4+
Abbiamo una funzione "regolare". Come chiamare `async` da questa ed usare il suo risultato?
55

66
```js
77
async function wait() {

0 commit comments

Comments
 (0)