Call method | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Call method

why my code doesn't work? https://code.sololearn.com/cWRj5592vjBp I want to do it by call method not like this : const circle1 = new Circle(93);

5th Apr 2022, 10:54 PM
shokin touch
1 Answer
+ 1
That's not how call() is supposed to be used https://www.javatpoint.com/javascript-function-call-method
6th Apr 2022, 1:13 AM
Ipang