一个小 JavaScript 拼图给你善良的向导:
var toString = Object.prototype.toString;
var e = new Error();
console.log(toString.call(e)); // '[object Error]'
function Poodle(){}
var fido = new Poodle();
console.log(toString.call(fido)); // '[object Object]'
如何使最后一行返回'[object Poodle]'
?