- 1
Please help me,find my mistake
class Add { constructor(...words) { this.words = words; } } print(){ var str = this.words.join("
quot;); var b = "quot;+str+"quot;; console.log(b);// var x = new Add("hehe", "hoho", "haha", "hihi", "huhu"); var y = new Add("this", "is", "awesome"); var z = new Add("lorem", "ipsum", "dolor", "sit", "amet", "consectetur", "adipiscing", "elit"); x.print(); y.print(); z.print();2 ответов
+ 1
Alim Niyazov
Duplicate question
https://www.sololearn.com/Discuss/2823625/?ref=app
0
kindly delete this duplicate: you've got answers in your other previous thread ^^