objects | Sololearn: Learn to code for FREE!



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);

1/10/2020 6:37:00 PM


4 Answers

New Answer


what remains unclear to you? we all tried to help you yesterday


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


In any way you all gave me, it does not showing me nothing, and i still try to look for an answer


Access the colour property of the Hari object using font syntax