When I do: ``` js import serializeJavascript from 'serialize-javascript'; const serialized = serializeJavascript({ error: new Error('message') }); console.log(serialized); ``` I'm receiving: ``` js "{\"error\":{}}" ``` Is it intentional or is it a bug?
When I do:
I'm receiving:
"{\"error\":{}}"Is it intentional or is it a bug?