inheritanceJavaScriptInheritanceMediumHow does classical inheritance differ from prototypal inheritance?1Classical: classes inherit from classes; prototypal: objects inherit directly from objects2They are the same3Prototypal uses classes; classical uses objects4Prototypal cannot share methodsBack to list