MCPcopy Create free account
hub / github.com/dop251/goja / createAsyncFunction

Method createAsyncFunction

builtin_function.go:308–312  ·  view source on GitHub ↗
(val *Object)

Source from the content-addressed store, hash-verified

306}
307
308func (r *Runtime) createAsyncFunction(val *Object) objectImpl {
309 o := r.newNativeFuncConstructObj(val, r.builtin_asyncFunction, "AsyncFunction", r.getAsyncFunctionPrototype(), 1)
310
311 return o
312}
313
314func (r *Runtime) getAsyncFunction() *Object {
315 var o *Object

Callers 1

getAsyncFunctionMethod · 0.95

Calls 2

Tested by

no test coverage detected