We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28a3f11 commit f54355aCopy full SHA for f54355a
README.md
@@ -1575,17 +1575,17 @@ function sayHi() {
1575
const data = greeting();
1576
console.log("It worked!", data);
1577
} catch (e) {
1578
- console.log("Oh no an error!", e);
+ console.log("Oh no an error:", e);
1579
}
1580
1581
1582
sayHi();
1583
```
1584
1585
-- A: `"It worked! Hello world!"`
1586
-- B: `"Oh no an error: undefined`
+- A: `It worked! Hello world!`
+- B: `Oh no an error: undefined`
1587
- C: `SyntaxError: can only throw Error objects`
1588
-- D: `"Oh no an error: Hello world!`
+- D: `Oh no an error: Hello world!`
1589
1590
<details><summary><b>Answer</b></summary>
1591
<p>
0 commit comments