0

Contact manager question (javascript)

function contact(name, number) { this.name = name; this.number = number; } var a = new contact("David", 12345); var b = new contact("Amy", 987654321); console.log(a.name + ":"+" " + a.number); console.log(b.name+ ":" + " " +b.number);

15th Mar 2021, 1:58 PM
SHUBHAM RAMESH NIMJE
SHUBHAM RAMESH NIMJE - avatar
2 Respuestas
+ 1
Please don't post answers here
15th Mar 2021, 2:19 PM
Atul [Inactive]
15th Mar 2021, 2:19 PM
Atul [Inactive]