Script
NAN provides a v8::Script
helpers as the API has changed over the supported versions of V8.
Nan::CompileScript()
A wrapper around v8::Script::Compile()
.
Note that Nan::BoundScript
is an alias for v8::Script
.
Signature:
Nan::RunScript()
Calls script->Run()
or script->BindToCurrentContext()->Run(Nan::GetCurrentContext())
.
Note that Nan::BoundScript
is an alias for v8::Script
and Nan::UnboundScript
is an alias for v8::UnboundScript
where available and v8::Script
on older versions of V8.
Signature:
Last updated