+ 1
Can someone help me to figure this out?
You are working on a Contact Manager app. You have created the contact object constructor, which has two arguments, name and number. You need to add a print() method to the object, which will output the contact data to the console in the following format: name: number The given code declares two objects and calls their print() methods. Complete the code by defining the print() method for the objects.
2 Respuestas
0
Heres an example in java, you can do similar in javascript hope it helps :)
https://code.sololearn.com/c74TlRbvFUZt/?ref=app
0
Thank you for your help I appreciate that