diff --git a/README.md b/README.md index d82324c..cc28293 100755 --- a/README.md +++ b/README.md @@ -380,28 +380,6 @@ C(, ..) ``` -## Limitations - -### Can not mix unrelated native types directly - -At this point we can't mix native types, i.e. it is not possible to make -a callable `Array`... - -For example this will produce a broken instance: -```javascript -var CallablaArray = object.Constructor('CallablaArray', Array, function(){ .. }) -``` - -This will produce a broken instance in a different way: -```javascript -var CallablaArray = object.Constructor('CallablaArray', Array, { - __call__: function(){ .. }, -}) -``` - -Some of this is due to how _object.js_ is currently implemented, this -needs further investigation... - ## Utilities @@ -416,6 +394,31 @@ This is used to format `.toString(..)` return values for nested functions to make source printing in console more pleasant to read. + +## Limitations + +### Can not mix unrelated native types directly + +At this point we can't mix native types, for example it is not possible +to make a callable `Array` object... + +For example this will produce a broken instance: +```javascript +var CallablaArray = object.Constructor('CallablaArray', Array, function(){ .. }) +``` + +This will produce an instance broken in a different way: +```javascript +var CallablaArray = object.Constructor('CallablaArray', Array, { + __call__: function(){ .. }, +}) +``` + +Some of this is due to how _object.js_ is currently implemented, this +needs further investigation... + + + ## License [BSD 3-Clause License](./LICENSE)