摘要: let breakfast = { getDrink(){ return 'tea' } }; let dinner = { getDrink(){ return 'beer' } }; let sunday = { __proto__:breakfast } 这里把sunday的prototype 阅读全文
posted @ 2019-06-29 09:46 qnlz 阅读(609) 评论(0) 推荐(0) 编辑