mirror of
https://github.com/flynx/object.js.git
synced 2025-10-30 19:10:11 +00:00
docs...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
aee689646b
commit
0cd061e3e4
@ -604,9 +604,13 @@ RawInstance(<context>, <constructor>, ..)
|
|||||||
- use `{}`.
|
- use `{}`.
|
||||||
- Link the object into the prototype chain
|
- Link the object into the prototype chain
|
||||||
|
|
||||||
|
|
||||||
_Un-initialized_ means this will not call `.__init__(..)`
|
_Un-initialized_ means this will not call `.__init__(..)`
|
||||||
|
|
||||||
|
|
||||||
|
This can be called with and without `new`.
|
||||||
|
|
||||||
|
|
||||||
### `Constructor(..)` / `C(..)`
|
### `Constructor(..)` / `C(..)`
|
||||||
|
|
||||||
Define an object constructor
|
Define an object constructor
|
||||||
@ -640,6 +644,8 @@ done for two reasons:
|
|||||||
empty inheritance.
|
empty inheritance.
|
||||||
|
|
||||||
|
|
||||||
|
This can be called with and without `new`.
|
||||||
|
|
||||||
|
|
||||||
Shorthand to `Constructor(..)`
|
Shorthand to `Constructor(..)`
|
||||||
```
|
```
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user