Normen a écrit :
> Hi Christophe,
> 
> i think i understand, but when i override the standard Array anyway, do i 
> need the Delegator still? Couldn´t i just overwrite the Arrays has, get and 
> put equal to the way i did in the Delegator?

No, you can't: has, get and put aren't javascript methods. They are part 
of the rhino implementation of javascript. They are _somewhat_ related 
to the [[Get]], [[Put]], [[HasProperty]] methods described in ECMA 262 
but it says:

> Internal properties and methods are not part of the language. They are 
> defined by this specification
> purely for expository purposes. An implementation of ECMAScript must behave 
> as if it produced and
> operated upon internal properties in the manner described here.
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to