Console logging fails when passing a BigInt ("Do not know how to serialize a BigInt")
dfahlander opened this issue · 0 comments
dfahlander commented
To reproduce:
const obj = {
foo: 3n
};
console.log(obj);
I believe that this file would need to detect bigints (typeof x === 'bigint') and handle encoding/decoding them.