How to deal with constructor functions ? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

How to deal with constructor functions ?

I have a code and need to be as less code as possible, but I tried many times. https://code.sololearn.com/W1l1ebaidShU/?ref=app

15th Jan 2022, 1:07 PM
Mohammed
2 Réponses
+ 1
this.count= count; this.initial=initial; this.r = r; this.y = y; this.g = g; this.st = st;
15th Jan 2022, 2:01 PM
FanYu
FanYu - avatar
0
Thank you very much, that was so helpful.
15th Jan 2022, 2:05 PM
Mohammed