Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 465f3bf commit 7035841Copy full SHA for 7035841
README.md
@@ -623,10 +623,6 @@ Array.prototype.diff = function(comparisonArray) {
623
**Good:**
624
```javascript
625
class SuperArray extends Array {
626
- constructor(...args) {
627
- super(...args);
628
- }
629
-
630
diff(comparisonArray) {
631
var values = [];
632
var hash = {};
@@ -1155,10 +1151,6 @@ class Rectangle {
1155
1151
}
1156
1152
1157
1153
class Square extends Rectangle {
1158
- constructor() {
1159
- super();
1160
1161
1162
1154
setWidth(width) {
1163
this.width = width;
1164
this.height = width;
@@ -1186,8 +1178,6 @@ renderLargeRectangles(rectangles);
1186
1178
**Good**:
1187
1179
1188
1180
class Shape {
1189
- constructor() {}
1190
1191
1181
setColor(color) {
1192
1182
// ...
1193
1183
0 commit comments