From 83af4043f06da24291f1f313c9e21fe82b9e1243 Mon Sep 17 00:00:00 2001 From: iNE <35720353+Sakuraine@users.noreply.github.com> Date: Mon, 11 Feb 2019 19:02:35 +0800 Subject: [PATCH] super(length, length) => super(length, width); --- docs/class.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/class.md b/docs/class.md index f5dc1d8..78abb84 100644 --- a/docs/class.md +++ b/docs/class.md @@ -975,7 +975,7 @@ class Rectangle { class Square extends Rectangle { constructor(length) { - super(length, length); + super(length, width); } }