minor
This commit is contained in:
parent
4d808231b0
commit
5f540e7210
2 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ This book is a *tutorial*. It aims to help you gradually learn the language. But
|
|||
|
||||
But being that formalized, it's difficult to understand at first. So if you need the most trustworthy source of information about the language details, the specification is the right place. But it's not for everyday use.
|
||||
|
||||
The latest draft is at <https://tc39.es/ecma262/>.
|
||||
A new specification version is released every year. In-between these releases, the latest specification draft is at <https://tc39.es/ecma262/>.
|
||||
|
||||
To read about new bleeding-edge features, including those that are "almost standard" (so-called "stage 3"), see proposals at <https://github.com/tc39/proposals>.
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ alert(user.name); // Jack
|
|||
alert(user.isAdmin); // false
|
||||
```
|
||||
|
||||
When a function is executed as `new Func(...)`, it does the following:
|
||||
When a function is executed with `new`, it does the following steps:
|
||||
|
||||
1. A new empty object is created and assigned to `this`.
|
||||
2. The function body executes. Usually it modifies `this`, adds new properties to it.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue