Object-oriented JavaScript for beginners - Further exercises

In the guide Object-oriented JavaScript for beginners towards the end under the Further exercises title, there is additional task to change the bio() method, so that it works better.

After completing the tasks I noticed that there could be another improvement added to the solution. Right now the way it is written the second to last item also shows with a comma, which isn’t completely grammatically correct. Only thing to add would be one more if statement to fix this issue.

This is how I wrote the for loop in this task:
for (var i = 0; i < this.interests.length; i++) {

          if (i === this.interests.length - 2){

            string += this.interests[i];

          }

          else if (i === this.interests.length - 1) {

            string += ' and ' + this.interests[i] + '.';

          } else {

            string += this.interests[i] + ', ';

          }

        }