Skip to content

Files

Latest commit

 

History

History
13 lines (7 loc) · 368 Bytes

unnecessary-constructor.md

File metadata and controls

13 lines (7 loc) · 368 Bytes

Pattern: Unnecessary constructor

Issue: -

Description

Prevents blank constructors, as they are redundant.

Rationale: JavaScript implicitly adds a blank constructor when there isn’t one. It’s not necessary to manually add one in.

Further Reading