pub fn to_string(this: &Value, _: &[Value], _: &mut Interpreter) -> ResultValue {
    // Get String from String Object and send it back as a new value
    let primitive_val = this.get_internal_slot("StringData");
    Ok(to_value(format!("{}", primitive_val).to_string()))
}
/// Get the string value to a primitive string
Get the string value to a primitive string
Get the string value to a primitive string
pub fn to_string(this: &Value, _: &[Value], _: &mut Interpreter) -> ResultValue {
    // Get String from String Object and send it back as a new value
    let primitive_val = this.get_internal_slot("StringData");
    Ok(to_value(format!("{}", primitive_val).to_string()))
}
pub fn to_string ( this : & Value , _ : & [ Value ] , _ : & mut Interpreter ) -> ResultValue { // Get String from String Object and send it back as a new value let primitive_val = this . get_internal_slot ( " " ) ; Ok ( to_value ( format ! ( " " primitive_val ) . to_string ( ) ) ) }
Get the string value to a primitive string
Get the string value to a primitive string
this
&mut Interpreter
this
&mut Interpreter