Edit It: Should you define a new constructor property if you replace the default prototype object?
This code shows you need a new constructor property if you replace the default prototype object.
See it on StackBlitzThis code shows you need a new constructor property if you replace the default prototype object.
See it on StackBlitz