Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 1.47 KB

File metadata and controls

21 lines (13 loc) · 1.47 KB

Super Class Extensions

Provider Source Solutions
Codewars 55a14cd026f2a4b196000092 JavaScript

Classy Extensions

Classy Extensions with Super, this kata is mainly aimed at the new JS ES6 Update introducing class extends

Task

Your task is to complete the Cat class which Extends Animal, we want to go to use the original speak method as well, so you must use the super method so the speak method for Cat now returns e.g. 'Mr Whiskers makes a noise, Mr Whiskers goes meow.'

Reference: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes