| 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 |
no test coverage detected