Merge pull request #1594 from koala-lava/master

consistent error output comments
This commit is contained in:
Ilya Kantor 2019-12-01 13:49:13 +03:00 committed by GitHub
commit 44964399e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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"
```

View file

@ -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"
*/!*
```