This commit is contained in:
Ilya Kantor 2019-05-09 11:02:53 +03:00
parent eabfc56820
commit d15186ddfe

View file

@ -10,7 +10,7 @@ alert(str.test);
```
Depending on whether you have `use strict` or not, the result may be:
1. `undefined` (no string)
1. `undefined` (no strict mode)
2. An error (strict mode).
Why? Let's replay what's happening at line `(*)`: