Skip to content

Commit

Permalink
Add catch param
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed Nov 4, 2019
1 parent 837af0f commit 7bb825b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ async function* inner() {
log.push(2);
yield "b";
log.push(3);
} catch {
} catch (e) {
log.push(4);
yield "c";
log.push(5);
Expand Down

0 comments on commit 7bb825b

Please sign in to comment.