From 29956f02ed2a2e23ea146a4ad4c808ffef47ad6a Mon Sep 17 00:00:00 2001 From: Jordan Harband 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 e10cca35ea..37bb6433a0 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'; } }