Lazy Properties

10 views
Skip to first unread message

Nat

unread,
Jun 10, 2011, 3:43:56 AM6/10/11
to v8-u...@googlegroups.com
Is there a way to make the interceptor act as underlying data source like in SpiderMonkey? Basically, it will intercept the getter call if the requested property doesn't exist. If not, the code can fetch data and set it to the object explicitly. Afterwards, getting the same property will fetch the data from map instead of getter.
Reply all
Reply to author
Forward
0 new messages