+ 3
Sony Hossain
make print function not newContact function.
And also no need to print extra things just print values inside print function
this.print = function() {
console.log(this.name + ': ' + this.number;
}
now just call
a.print()
b.print()
+ 3
Sony Hossain
You have to create print function inside given function 'contact'
Making new function 'newContact' doesn't make any sense.
Read the lesson again and try to solve