Skip to content

Files

Latest commit

 

History

History
23 lines (14 loc) · 348 Bytes

File metadata and controls

23 lines (14 loc) · 348 Bytes

Pattern: Missing whitespace around %

Issue: -

Description

The modulo operator (%) should have whitespace on either side of it.

Example of incorrect code:

remainder = 10%2

Example of correct code:

remainder = 10 % 2

Further Reading