mirror of
https://github.com/flynx/object.js.git
synced 2025-10-29 18:40:08 +00:00
doc...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
7e294f8c95
commit
c3f49c84a0
@ -68,10 +68,11 @@ var B = object.Constructor('B', A, {
|
|||||||
})
|
})
|
||||||
```
|
```
|
||||||
|
|
||||||
- Clear separation of constructor and `.prototype` data:
|
- No _direct_ way to do "private" definitions,
|
||||||
|
- Clear separation of constructor and `.prototype`
|
||||||
|
For example, in `B`:
|
||||||
- First block (optional) is merged with `B`,
|
- First block (optional) is merged with `B`,
|
||||||
- Second block _is_ the `B.prototype`,
|
- Second block _is_ the `B.prototype`,
|
||||||
- No _direct_ way to do "private" definitions,
|
|
||||||
- No special syntax, less distinct.
|
- No special syntax, less distinct.
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user