Hi I'm beginner learning javascript. What is difference between following 2 constructors?
function Animal(name) {
        this.name = name;
        this.walk = function walk(destination) { //here function has name 'walk'
                console.log(this.name,'is walking to',destination);
        };
}
and
function Animal(name) {
        this.name = name;
        this.walk = function (destination) { // but no function name
                console.log(this.name,'is walking to',destination);
        };
}
Thank you in advance!
 
    