From b22edd79baf8430f8af10a271c38be8e0daf439b Mon Sep 17 00:00:00 2001 From: passionSeven 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'; } }