Skip to main content

async_function_ctor

Function async_function_ctor 

Source
pub(crate) fn async_function_ctor(
    it: &mut Interp,
    _t: Value,
    a: &[Value],
) -> Result<Value, Value>
Expand description

new AsyncFunction(...)・new GeneratorFunction(...)・new AsyncGeneratorFunction(...)(グローバルには無く、 Object.getPrototypeOf(async function(){}).constructor から得る)。