pub fn from_array(values: Vec<JSValue>) -> JSObject {
        JSObject {
            proto: Heap::ARRAY_PROTO,
            value: ObjectValue::Array(JSArray { storage: values }),
            properties: HashMap::new(),
        }
    }
/// Wrap the given vector into an Array.
Wrap the given vector into an Array.
Wrap the given vector into an Array .
pub fn from_array(values: Vec<JSValue>) -> JSObject {
        JSObject {
            proto: Heap::ARRAY_PROTO,
            value: ObjectValue::Array(JSArray { storage: values }),
            properties: HashMap::new(),
        }
    }
pub fn from_array ( values : Vec < JSValue > ) -> JSObject { JSObject { proto : Heap :: ARRAY_PROTO , value : ObjectValue :: Array ( JSArray { storage : values } ) , properties : HashMap :: new ( ) , } }
Wrap the given vector into an Array.
Wrap the given vector into an Array .
values
Vec<JSValue>
values
Vec<JSValue>