format

Function format 

Source
pub fn format(
    val: &JsValue,
    options: PrettyFormatOptions,
) -> Result<String, PrettyFormatError>