Skip to content

Git repo out of sync with "Live book" and contains errors. #18

@degailen

Description

@degailen

I've identified a few changes in the code which can lead to unexpected errors.
Missing from Person.js
set address(addr){ this._address = addr; }
Person.js param order changed from:
class Person { constructor(ssn,firstname, lastname, birthYear = null, address = null) {
To:
class Person { constructor(firstname, lastname, ssn){
Student.js param order changed from:
class Student extends Person { constructor(ssn, firstname, lastname, school, birthYear = null, address = null) {
To:
class Student extends Person { constructor(firstname, lastname, ssn, school) {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions