From 6fb32f56d2f05aeb1393a96eb7faa75fa5fb7759 Mon Sep 17 00:00:00 2001 From: talentdev219 Date: Sun, 21 Feb 2016 10:28:54 -0800 Subject: [PATCH] Fix no-useless-constructor example. Per https://github.com/airbnb/javascript/pull/730#discussion_r53565774 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e10cca3..37bb643 100644 --- a/README.md +++ b/README.md @@ -964,14 +964,14 @@ Other Style Guides // bad class Rey extends Jedi { constructor(...args) { - super(args); + super(...args); } } // good class Rey extends Jedi { constructor(...args) { - super(args); + super(...args); this.name = 'Rey'; } }