Open cyan-2048 opened 11 months ago
class MyClass { get value() { return "wow" } }; const myClass = new MyClass(); console.log(JSON.prune(myClass)); // empty object {}
Would that really be better ? I'd take opinions on that.
Probably would be a great option... as a workaround, I'm just using toJSON on my objects