DEV Community

Discussion on: All front end Interview questions asked during my recent job hunt.

Collapse
 
rakeshraih profile image
rakeshraih

Children.prototype = new Parent(), shoudn't this be
Children.prototype = Object.create(Parent.prototype); instead of creating new instance?

Thanks for posting, good stuff.