Merge pull request #47 from aadithpm/patch-7

Edit typo
This commit is contained in:
Ilya Kantor 2017-06-19 09:54:46 +03:00 committed by GitHub
commit 08c3e0da1c

View file

@ -89,7 +89,7 @@ The constructor can't be called again, because it is not saved anywhere, just cr
Inside a function, we can check whether it was called with `new` or without it, using a special `new.target` property.
It is empty for regulsar calls and equals the function if called with `new`:
It is empty for regular calls and equals the function if called with `new`:
```js run
function User() {