[][src]Function boa::builtins::function::make_constructor_fn

pub fn make_constructor_fn(
    name: &str,
    length: usize,
    body: NativeFunctionData,
    global: &Value,
    prototype: Value,
    constructable: bool
) -> Value

Creates a new constructor function

This utility function handling linking the new Constructor to the prototype. So far this is only used by internal functions