Show an example of ES6 classes to create objects and inherit properties? | Objects | javascript Interview Questions | NextRound.in