How we can implement prototype-based inheritance? | Objects | javascript Interview Questions | NextRound.in