Skip to content

Commit 4496439

Browse files
authored
Merge pull request #1594 from koala-lava/master
consistent error output comments
2 parents d04fbf4 + 8ab07e1 commit 4496439

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

1-js/99-js-misc/01-proxy/01-error-nonexisting/solution.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ function wrap(target) {
1919
user = wrap(user);
2020

2121
alert(user.name); // John
22-
alert(user.age); // ReferenceError: Property doesn't exist
22+
alert(user.age); // ReferenceError: Property doesn't exist "age"
2323
```

1-js/99-js-misc/01-proxy/01-error-nonexisting/task.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ user = wrap(user);
2727

2828
alert(user.name); // John
2929
*!*
30-
alert(user.age); // Error: Property doesn't exist
30+
alert(user.age); // ReferenceError: Property doesn't exist "age"
3131
*/!*
3232
```

0 commit comments

Comments
 (0)