- 2
class Add { constructor(...words) { this.words = words; } //your code goes here } var x = new Add("hehe", "h
This program is wrong please correct this code
2 Answers
+ 4
Anish Kumar Pankaj
Program is not wrong you need to write code so write and show attempts.
+ 1
DON'T PUT CODE IN THE HEADING!
It gets cut off so nobody can read it and nobody can help you. Put it in a script on sololearn!