format_object

Function format_object 

Source
pub fn format_object<'cx>(
    cx: &'cx Context,
    cfg: Config,
    object: Object<'cx>,
) -> ObjectDisplay<'cx>
Expand description

Formats a JavaScript Object, depending on its class, using the given configuration. The object is passed to more specific formatting functions, such as format_array and format_date.