Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 404 Bytes

closing_brace.md

File metadata and controls

31 lines (18 loc) · 404 Bytes

Pattern: Malformed }

Issue: -

Description

Closing brace with closing parenthesis should not have any whitespaces in the middle.

Examples of correct code:

[].map({ })


[].map(
  { }
)

Examples of incorrect code:

[].map({ } )


[].map({ }	)

Further Reading