Javascript Build A Library - TypeError: Cannot read property 'push' of undefined

Let me start by saying that I am about ready to pull all of my hair out over this exercise and cry myself to sleep.

I am working on this: https://www.codecademy.com/paths/full-stack-engineer-career-path/tracks/fscp-javascript-syntax-part-iii/modules/fecp-learn-javascript-syntax-classes/projects/build-a-library

I have followed along on the tutorial video and copies the code exactly provided and I am still getting this error:

TypeError: Cannot read property ‘push’ of undefined

On step 17

here is my code

class Media {
  constructor(title) {
    this._title = title;
    this._isCheckedOut = false;
    this._ratings = [];
  }

  get title() {
    return this._title;
  }
  
  get isCheckedOut() {
    return this._isCheckedOut;
  }
  get ratings() {
    return this._ratings;
  }
  set isCheckedOut(isCheckedOut) {
    this._isCheckedOut = isCheckedOut;
  }

  toggleCheckOutStatus() {
    if (this._isCheckedOut) {
      this._isCheckedOut = false;
    } else {
      this._isCheckedOut = true;
    }
  }
    getAverageRatings() {
      return this.ratings.reduce((a,b) => 
      a + b)/this.ratings.length
    }

    addRating(rating) {
      this.ratings.push(rating)
    }
  }
  

  class Book extends Media {
    constructor(author,title,pages) {
      super(title)
      this._author = author;
      this._pages = pages; 
    }

    get author() {
      return this._author;
    }

    get pages() {
      return this._pages;
    }
  }

  class Movie extends Media {
    constructor(title, director, runTime) {
      super(title)
      this._director = director;
      this._runTime = runTime; 
    }

    get author() {
      return this._director;
    }

    get pages() {
      return this._runTime;
    }
  }

let historyOfEverything = new Book('Bill Bryson', 'A Short History of Nearly Everything', 544)

historyOfEverything.toggleCheckOutStatus()

console.log(historyOfEverything.isCheckedOut)
console.log(historyOfEverything.getRatings)


 historyOfEverything.addRating(4)
historyOfEverything.addRating(5)
historyOfEverything.addRating(5)

and my error:

It’s saying that this.ratings does not exist (undefined) so trace back to where it is declared and see if there is a scoping (context) issue. (Nope)

It would appear to not be using the getter to bind to _ratings. An immediate fix would be to include the underscore and skip the getter.