Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2020-04-26 19:35:35 +03:00
parent 535aeab9b0
commit 5e8709e4f8

View File

@ -167,6 +167,9 @@ This has priority over the callable protocols above, thus the user must
take care of both the _function constructor_ and `prototype.__call__(..)`
handling.
**Notes:**
- this now is a instance method, in the future this may move to a class method...
## Components
@ -204,6 +207,8 @@ makeRawInstance(<context>, <constructor>, ...)
-> <object>
```
_EXPERIMENTAL: a shorthand to this is defined as `Constructor.__rawinstance__(..)`_
Define an object constructor
```
Constructor(<name>, <prototype>)