10 Days of JavaScript

Day 5: Inheritance | 10 Days Of JavaScript | HackerRank Solution

Hello coders, today we are going to solve Day 5: Inheritance HackerRank Solution which is a part of 10 Days of JavaScript Series. Objective In this challenge, we practice implementing inheritance and use JavaScript prototypes to add a new method to an existing prototype. Task We provide the implementation for a Rectangle class in the editor. Perform the following tasks: Add

Day 5: Inheritance | 10 Days Of JavaScript | HackerRank Solution Read More »