mirror of
https://github.com/flynx/object.js.git
synced 2025-10-29 10:30: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,
|
||||
but the internal context is different -- as it is the job of `.__new__(..)`
|
||||
to create an instance, at time of call the instance does not exist and `this`
|
||||
references the `.prototype` object.
|
||||
Like [_function constructor_ and `.__call__(..)`](#callable-instances)
|
||||
this also has two contexts, but the internal context is different -- as
|
||||
it is the job of `.__new__(..)` to create an instance, at time of call
|
||||
the instance does not exist and `this` references the `.prototype`
|
||||
object.
|
||||
|
||||
The external context is the same as above.
|
||||
|
||||
Contexts:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user