pub fn to_f64(value_ref: &JSValueRef) -> Result<f64, JsError>