Skip to main content

Why should you avoid using the return keyword in your class's constructor method?

This code shows why avoiding the return keyword in your class's constructor method is best.

See it on StackBlitz