From 2e43dacd24337a82d4184fac9b44d497675f46ef Mon Sep 17 00:00:00 2001 From: Nitin Kumar Date: Mon, 31 May 2021 11:41:22 +0530 Subject: [PATCH] Docs: fix `no-sequences` example (#14643) --- docs/rules/no-sequences.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/rules/no-sequences.md b/docs/rules/no-sequences.md index 87ba3c4b9b8..f12c46573b7 100644 --- a/docs/rules/no-sequences.md +++ b/docs/rules/no-sequences.md @@ -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 } ```