*Here is sample:*
auto isolate = v8::Isolate::GetCurrent();
Local global = ObjectTemplate::New(isolate);
global->Set(v8_str(isolate, "i"), Number::New(isolate, *4*));
Local context = Context::New(isolate, nullptr, global);
Context::Scope context_scope(context);
auto i = context->Global()->Get(
вторник, 8 августа 2017 г., 12:51:40 UTC+3 пользователь dark...@gmail.com
написал:
>
> *Here is sample:*
>
> auto isolate = v8::Isolate::GetCurrent();
>
> Local global = ObjectTemplate::New(isolate);
>
> global->Set(v8_str(isolate, "i"), Number::New(isolate, *4*));
>
> Local context = Context::N
Inside JS code i variable also has the value nan.
--
--
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 emai
On Tue, Aug 8, 2017 at 11:51 AM, wrote:
> Here is sample:
>
> auto isolate = v8::Isolate::GetCurrent();
>
> Local global = ObjectTemplate::New(isolate);
>
> global->Set(v8_str(isolate, "i"), Number::New(isolate, 4));
>
> Local context = Context::New(isolate, nullptr, global);
> Context::Scope con
On Sun, Aug 6, 2017 at 3:17 AM, Georgi Sotirov wrote:
> GCC 4.8 is what ships in Ubuntu Trusty, which is still our main
>> development platform. Usually ensuring that older toolchains are still
>> supported is more difficult (and hence more important) than supporting
>> newer toolchains.
>> Most