Merge pull request #1594 from koala-lava/master
consistent error output comments
This commit is contained in:
commit
44964399e1
2 changed files with 2 additions and 2 deletions
|
@ -19,5 +19,5 @@ function wrap(target) {
|
|||
user = wrap(user);
|
||||
|
||||
alert(user.name); // John
|
||||
alert(user.age); // ReferenceError: Property doesn't exist
|
||||
alert(user.age); // ReferenceError: Property doesn't exist "age"
|
||||
```
|
||||
|
|
|
@ -27,6 +27,6 @@ user = wrap(user);
|
|||
|
||||
alert(user.name); // John
|
||||
*!*
|
||||
alert(user.age); // Error: Property doesn't exist
|
||||
alert(user.age); // ReferenceError: Property doesn't exist "age"
|
||||
*/!*
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue