Closed JackLingwood closed 5 years ago
It says: console.log(introduce(person)); // "I'm Eddie and I'm 24 years old!"
"console.log(introduce(person)); " produces "undefined" in the console log. The function does not return anything.
Maybe it should just be: introduce(person)
The introduce method already has console.log.
It says: console.log(introduce(person)); // "I'm Eddie and I'm 24 years old!"
"console.log(introduce(person)); " produces "undefined" in the console log. The function does not return anything.
Maybe it should just be: introduce(person)
The introduce method already has console.log.