let o = {}
o.__defineGetter__("test", function() { });let o = {};
???--
--
v8-dev mailing list
v8-...@googlegroups.com
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to v8-dev+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/v8-dev/ec43f635-e18f-481d-95df-52b6180a84edo%40googlegroups.com.
AFAIK AccessorInfo can only be defined via the C++ API, i.e. by the embedder (or by V8 itself). AccessorPair is what you get when you define accessors via JavaScript.
On Mon, Jul 20, 2020 at 1:03 PM Jann Godspeed <janngo...@gmail.com> wrote:
I'm having trouble understanding how AccessInfo works. Can they only be defined on special objects?--To define an AccessorPair on an object I would do something likelet o = {}
o.__defineGetter__("test", function() { });let o = {};
???
--
v8-dev mailing list
v8-...@googlegroups.com
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to v8-...@googlegroups.com.
--
--
v8-dev mailing list
v8-...@googlegroups.com
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to v8-dev+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/v8-dev/CAKSzg3RxoJDrz2DB4Lt1ww0me6T-3xi2xQfGD9nBabR4q%2BKLbw%40mail.gmail.com.
Thanks for the replies! This all makes sense. Where do interceptors come into the picture?