mirror of
https://github.com/flynx/object.js.git
synced 2025-10-29 10:30:08 +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 `{}`.
|
||||
- Link the object into the prototype chain
|
||||
|
||||
|
||||
_Un-initialized_ means this will not call `.__init__(..)`
|
||||
|
||||
|
||||
This can be called with and without `new`.
|
||||
|
||||
|
||||
### `Constructor(..)` / `C(..)`
|
||||
|
||||
Define an object constructor
|
||||
@ -640,6 +644,8 @@ done for two reasons:
|
||||
empty inheritance.
|
||||
|
||||
|
||||
This can be called with and without `new`.
|
||||
|
||||
|
||||
Shorthand to `Constructor(..)`
|
||||
```
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user