原文来自阮一峰日志(http://www.ruanyifeng.com/blog/2010/05/object-oriented_javascript_inheritance_continued.html),记录一下非构造函数继承方式. 1.object()方法 function object(o) { function F() {}; F.prototype = o; return new F();}var Chinese = { nation:'中国'};var Doctor ={ care…