Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 197 Bytes

File metadata and controls

17 lines (14 loc) · 197 Bytes

Replace Constructor with Factory Function

Why?

Benefits:

What?

How?

Sample

Before

After refactoring