Adressing properties of an object | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Adressing properties of an object

This code only works, when I create the property 'area' after initialasing an object, not while creating it. How can I add a property that addresses the other properties of the same object WHILE creating an object, not after? https://code.sololearn.com/W73eVOzTNYI2/?ref=app

15th Sep 2019, 8:20 AM
Mikael Ovakimyan
1 Answer
+ 2
https://code.sololearn.com/W7LINQibPSUz/#js
15th Sep 2019, 9:05 AM
MO ELomari