Mar 19, 2023
I'll have to check out that json-cycle lib. I always write myself safeStringify() and safePsrse() methods with a try/catch so the program doesn't crap out on cyclic object errors. They are one of the biggest pains in the as of javascript, along with the "can't find property [xxx] of object undefined" error that also stops my program dead in its tracks.