Skip to content

Commit

Permalink
Docs: fix no-sequences example (#14643)
Browse files Browse the repository at this point in the history
  • Loading branch information
snitin315 committed May 31, 2021
1 parent 958ff4e commit 2e43dac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/no-sequences.md
Expand Up @@ -73,7 +73,7 @@ Examples of **incorrect** code for arrow functions:
/*eslint no-sequences: "error"*/
const foo = (val) => (console.log('bar'), val);

const foo = () => ((bar = 123), 10));
const foo = () => ((bar = 123), 10);

const foo = () => { return (bar = 123), 10 }
```
Expand Down

0 comments on commit 2e43dac

Please sign in to comment.