News for hackers. Stuff that matters.
Re:JavaScript Coercions Grid by ficklepickle on Saturday March 30, 2019 @02:09PM (#19530825)
What about calling toString() on an object? I think serializing the object would be more useful than [object Object]. I'm sure JSON.stringify didn't exist originally, so it wasn't an option. I guess it must be for backwards compatibility, but I can't think of much of a use case. Maybe something somewhere uses it instead of typeof?

There are no comments on this comment yet.