{"size": 438, "ext": "js", "max_stars_repo_path": "oo_probs/easyRects_Sqs.js", "max_stars_repo_name": "mabbason/ls-js120", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "oo_probs/easyRects_Sqs.js", "max_issues_repo_name": "mabbason/ls-js120", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "oo_probs/easyRects_Sqs.js", "max_forks_repo_name": "mabbason/ls-js120", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 16.2222222222, "max_line_length": 75, "alphanum_fraction": 0.6141552511}
class Rectangle {
  constructor(width, length) {
    this.width = width;
    this.length = length;
  }

  getWidth() {
    return this.width;
  }

  getLength() {
    return this.length;
  }

  getArea() {
    return this.width * this.length;
  }
}

class Square extends Rectangle {
  constructor(size) {
    super(size, size);
  }
}

let square = new Square(5);
console.log(`area of square = ${square.getArea()}`); // area of square = 25