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

Method callObjectAsConstructor

valdi/src/valdi/v8/V8JavaScriptContext.cpp:727–730  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

725
726void V8JavaScriptContext::setObjectProperty(const JSValue& object,
727 const JSPropertyName& propertyName,
728 const JSValue& propertyValue,
729 bool enumerable,
730 JSExceptionTracker& exceptionTracker) {
731 v8::HandleScope handleScope(_isolate);
732 auto obj = v8::Local<v8::Object>::Cast(fromValdiJSValue(_isolate, object, exceptionTracker));
733 if (!exceptionTracker) {

Callers 3

newES6CollectionMethod · 0.45
newDateMethod · 0.45
decodeProtoMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected