From 5034204d10129d869b875fc84e630e832f2cc950 Mon Sep 17 00:00:00 2001 From: sensiblegame 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'; } }