3 ms·
>var obj = {}; obj.foo = obj; JSON.stringify(obj); >Uncaught TypeError: cyclic object value If browser JS engines can detect circular references, the PS seria
by Arnavion 6y ago
>var obj = {}; obj.foo = obj; JSON.stringify(obj);
>Uncaught TypeError: cyclic object value
If browser JS engines can detect circular references, the PS serializer can too.
- naikrovek 6y agoit CAN, but it DOESN'T.