Object.prototype.toJSON = () => null;pic.twitter.com/sE2SY6cUNR
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Wait, but then toJSON will be exposed publicly and calling it will return an object, not a serialized string? Isn't that counter-intuitive? I'd personally expect a public method called toJSON on an object to return JSON
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
don't forget about toString(), and valueO() :]
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
wow, that's really cool and useful. how did i not know this already?
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.