Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 240 Bytes

prefer-switch.md

File metadata and controls

11 lines (6 loc) · 240 Bytes

Pattern: Multiple === checks

Issue: -

Description

Prefer a switch statement to an if statement with simple === comparisons.

Further Reading