2 Answers
+ 3
I'm not getting the error shown in image but try enabling strict mode as said in error message. Just place "use strict" string at top of your script : "use strict"; class Rectangle { ......
17th May 2020, 7:36 AM
šŸ‡®šŸ‡³OmkaršŸ•‰
šŸ‡®šŸ‡³OmkaršŸ•‰ - avatar
- 1
The output is 5 What do you want output to be?
17th May 2020, 7:37 AM
ycsvenom
ycsvenom - avatar