Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2020-05-07 21:53:31 +03:00
parent a5620ab965
commit 88e5df56e7

View File

@ -272,7 +272,6 @@ user's responsibility to call `.__call__(..)` method.
Prototype-based mixin... Prototype-based mixin...
```javascript ```javascript
var utilityMixin = { var utilityMixin = {
utility: function(){ utility: function(){
// ... // ...
@ -432,7 +431,8 @@ var myArray = object.Constructor('myArray', Array, {
Note that all of the following are generic and will work on any relevant Note that all of the following are generic and will work on any relevant
JavaScript object. JavaScript object.
For example, this will happily create a normal native array object `['a', 'b', 'c']`: For example, this will happily create a normal native array object
`['a', 'b', 'c']`:
```javascript ```javascript
var l = object.makeRawInstance(null, Array, 'a', 'b', 'c') var l = object.makeRawInstance(null, Array, 'a', 'b', 'c')
``` ```