Hacker News new | ask | show | jobs
by papercrane 4835 days ago
It's supposed to return an object that is suitable for turning into JSON, but it won't convert any of items members. JSON.stringify relies on the toJSON functions of the members to serialize themselves.