0

objects

i stiil can't do the objects, it does not working, but in the example, it is working here is an example: html: <html> <head> <title>creating objects</title> <script src="java/creating_your_own_objects.js"></script> </head> <body> </body> </html> JavaScript: function person (name, age) { this.name = name; this.age = age; } var John = new person("John", 25); var James = new person("James", 21);

10th Jan 2020, 6:37 PM
NIR DERI
NIR DERI - avatar
4 odpowiedzi
+ 3
what remains unclear to you? we all tried to help you yesterday
10th Jan 2020, 6:45 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 3
did you understand my code examples? what do you have left unclear? or are you trying to solve your homework this way? https://code.sololearn.com/W8N4i5hLvNQf/?ref=app https://code.sololearn.com/WjLE90m621ef/?ref=app
10th Jan 2020, 6:53 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
0
In any way you all gave me, it does not showing me nothing, and i still try to look for an answer
10th Jan 2020, 6:48 PM
NIR DERI
NIR DERI - avatar
- 1
Access the colour property of the Hari object using font syntax
14th Mar 2020, 5:22 AM
Karthika