Skip to content

Commit f54355a

Browse files
committed
Q52. Consistent options
1 parent 28a3f11 commit f54355a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1575,17 +1575,17 @@ function sayHi() {
15751575
const data = greeting();
15761576
console.log("It worked!", data);
15771577
} catch (e) {
1578-
console.log("Oh no an error!", e);
1578+
console.log("Oh no an error:", e);
15791579
}
15801580
}
15811581

15821582
sayHi();
15831583
```
15841584

1585-
- A: `"It worked! Hello world!"`
1586-
- B: `"Oh no an error: undefined`
1585+
- A: `It worked! Hello world!`
1586+
- B: `Oh no an error: undefined`
15871587
- C: `SyntaxError: can only throw Error objects`
1588-
- D: `"Oh no an error: Hello world!`
1588+
- D: `Oh no an error: Hello world!`
15891589

15901590
<details><summary><b>Answer</b></summary>
15911591
<p>

0 commit comments

Comments
 (0)