We don't have such alternative right now (last time I checked). We're still
working out the best way to support that use case, which is important to
V8/DOM as well. One way would be to always go through the accessor, even
after lazy instantiation. I can imagine this to be too slow right now
though.

Regards,
Toon

On Tue, Oct 6, 2015, 21:57 Jakob Kummerow <[email protected]> wrote:

> Have you checked bit.ly/v8-api-changes ?
>
> On Tue, Oct 6, 2015 at 8:44 PM, Jane Chen <[email protected]> wrote:
>
>> In v8 4.7.0, Object.ForceSet is deprecated.  What is the new recommended
>> way of bypassing accessors?
>>
>> The use case I have is that I lazily create global objects and functions
>> using accessors.  Once it is created, I want to reset the accessor and
>> force save the created objects on Global.
>>
>> Thanks.
>>
>> --
>> --
>> v8-users mailing list
>> [email protected]
>> http://groups.google.com/group/v8-users
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "v8-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> --
> v8-users mailing list
> [email protected]
> http://groups.google.com/group/v8-users
> ---
> You received this message because you are subscribed to the Google Groups
> "v8-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to