Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2020-05-06 13:56:14 +03:00
parent 7e294f8c95
commit c3f49c84a0

View File

@ -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`,
- Second block _is_ the `B.prototype`,
- No _direct_ way to do "private" definitions,
- No special syntax, less distinct.
</td>