Skip to content

Commit 0d704ab

Browse files
authored
Merge pull request lydiahallie#207 from oshliaer/patch-q52
Q52. Consistent options
2 parents a3fe996 + 2e560e3 commit 0d704ab

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
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>

en-EN/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)