Objects with toString work in html, append, etc

Objects with toString work in html, append, etc

It might be nice to do something like:

Dog = function(){}
Dog.prototype.toString = function(){ return "woof"}
dog = new Dog()

$("#foo").html(dog)

This can be solved super easy, I just feel like this would already work if it was meant to.