How are constructor functions used to create objects with shared properties and methods? | Objects | javascript Interview Questions | NextRound.in