Good evening,
Could someone please assist me and let me know why I am receiving an error for my javascript code?
SyntaxError: Unexpected number (at script.js:15:24) FYI: line 15 on my javascript is the function Person(Harry, 22).
function Person(Harry, 22) {
this.name = Harry;
this.age = 22;
}
console.log(Person);
I was expecting to see his name and age.