From 1f12a12be474bc9f61b2b1556549e865f3be114c Mon Sep 17 00:00:00 2001 From: Harrison Shoff Date: Sun, 14 Feb 2016 18:48:31 -0800 Subject: [PATCH] [eslint-v2] fix empty constructor example --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 795608e1..909954c9 100644 --- a/README.md +++ b/README.md @@ -956,14 +956,14 @@ Other Style Guides class Rey extends Jedi { constructor(...args) { - super(...args); + super(args); } } // good class Rey extends Jedi { constructor(...args) { - super(...args); + super(args); this.name = 'Rey'; } }