Improved human object (can talk and eat)

var apple =
{
        weight: 5
}

var human = 
{
        name: "Jason",
        weight: 210, 
        talk: function () 
        {
        console.log("Hello people!"); 
        },
        eat: function (apple) 
        {
        apple.weight=apple.weight-1; 
        }
}

human.talk();

console.log(apple);

human.eat(apple);
human.eat(apple);
human.eat(apple);

console.log(apple);