0
You are making a text encryptor. It should take multiple words and output a combined version, where each word is separated by a
class Add { constructor(...words) { this.words = words; } //your code goes here } print($ ) 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 Answers
+ 2
https://www.sololearn.com/discuss/2993183/?ref=app