On Wed, Apr 11, 2018 at 6:58 AM, YJ <yang.ji...@celigo.com> wrote:
> Hi v8-users,
>
> In certain situations we want user scripts to run in a context where the
> scripts don't get to use some of the newer ECMAScript features, for
> instance, Atomics, typed arrays etc. What is the recommended way to achieve
> that?
>
> Any pointers are appreciated.

Delete the corresponding globals from the global object
(`v8::Context::Global()`) before you start executing JS code.  Won't
work for everything but will work for most things.

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
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 v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to