I think you'd need copy(JSON.stringify(obj)) for that, no? --- Kayce
-
New conversation
-
-
-
- 1 more reply
New conversation -
-
-
And I've been logging it out as a string to do this
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
How does this handle cyclic objects?
-
It doesn't, just returns [object Object]
End of conversation
New conversation -
-
-
But copy(window) gives [object Window]
and copy(window.navigator) gives {}, do I have to update my chrome? -
Nope, this has been in chrome for a long time. Try it on something that isn't cyclical :-D
End of conversation
New conversation -
-
-
Epic. Speechless. All four paws in
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.