I have created an object person
and created 2 properties for that person
object in JavaScript. I passed data to that object as:
personA = new person("Michel","Newyork");
personB = new person("Roy","Miami");
What I need is, how to display both personA
& personB
values at same time through JavaScript?
person
constructor take? What property does it assign too?person
!