mirror of
https://github.com/flynx/object.js.git
synced 2025-10-29 18:40:08 +00:00
minor fix in docs...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
e40bc58f77
commit
f78909d2c6
10
README.md
10
README.md
@ -328,10 +328,12 @@ var LowLevel = object.Constructor('LowLevel', {
|
|||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Like _function constructor_ and `.__call__(..)` this also has two contexts,
|
Like [_function constructor_ and `.__call__(..)`](#callable-instances)
|
||||||
but the internal context is different -- as it is the job of `.__new__(..)`
|
this also has two contexts, but the internal context is different -- as
|
||||||
to create an instance, at time of call the instance does not exist and `this`
|
it is the job of `.__new__(..)` to create an instance, at time of call
|
||||||
references the `.prototype` object.
|
the instance does not exist and `this` references the `.prototype`
|
||||||
|
object.
|
||||||
|
|
||||||
The external context is the same as above.
|
The external context is the same as above.
|
||||||
|
|
||||||
Contexts:
|
Contexts:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user