In order to support node.js/jxcore buffers (https://groups.google.com/forum/#!topic/mozilla.dev.tech.js-engine.internals/cEyueW-1aO0) I have getter/setter implementation that makes a JS side object (an object created on the JS land, which doesn't have private slot or extra slots. Besides no event can be attached later (const JSClass)) act like an array (gets sets from external memory). The getter/setter methods checks for the 'id' and returns / sets from/to external memory.
_______________________________________________ dev-tech-js-engine-internals mailing list dev-tech-js-engine-internals@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-js-engine-internals