[][src]Function boa::builtins::array::construct_array

pub fn construct_array(
    array_obj: &Value,
    array_contents: &[Value]
) -> ResultValue

Utility function for creating array objects: array_obj can be any array with prototype already set (it will be wiped and recreated from array_contents)