I am stuck, and i need a little help

Why is this snippet throwing a syntax error in the console?

function Apple(color, weight) {

    this.color = color;

    this.weight = weight;

}

Apple.prototype = {

    this.eat = function() { return "eat the apple"; },

    this.throwAway = function() { return "throw the apple" }

};

console.log(Apple);

Apple1 = new Apple("red", 22);

console.log(Apple1);

Apple2 = new Apple("green", 12);

console.log(Apple2);

Apple3 = new Apple("purple", 55);

console.log(Apple3);

Hello~!

I do not believe you can assign values to an object prototype using the this keyword. The prototype exists in the global scope, and this does not.