--- title: Override Inherited Methods localeTitle: 覆盖继承的方法 --- ## 覆盖继承的方法 # 解 ```javascript Penguin.prototype.fly = function() { return "Alas, this is a flightless bird."; }; ```