I am trying to visualize a var so I can better debug and see what’s going on. Is there a method like toJSON except either prints the name of the methods or just ignores them? Really frustrating that I don’t know how to see var contents just because there’s methods in it.
How about a “remove all non-json-compatible methods and objects” function so I can print it?