MCPcopy Create free account
hub / github.com/Snapchat/Valdi / newArray

Method newArray

valdi/src/valdi/v8/V8JavaScriptContext.cpp:395–399  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

393 }
394 v8::Local<v8::Value> argument = string;
395 v8::Local<v8::Value> result;
396 if (!_bigIntConstructor.Get(_isolate)->Call(context, v8::Undefined(_isolate), 1, &argument).ToLocal(&result)) {
397 storeCaughtException(catcher, "Cannot create bigint", exceptionTracker);
398 return {};
399 }
400 return toRetainedJSValueRef(IndirectV8Persistent::make(_isolate, result));
401}
402

Callers 9

valueToJSValueFunction · 0.45
runtimeGetAssetsMethod · 0.45
newArrayBuilderMethod · 0.45
getProtobufRepeatedFieldFunction · 0.45
namespaceEntriesToJSFunction · 0.45
codepointsToStrMethod · 0.45

Calls 1

NewFunction · 0.50

Tested by

no test coverage detected