You are making a text encryptor. It should take multiple words and output a combined version, where each word is separated by a | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
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();

2nd Mar 2022, 1:43 PM
Jamilu Abubakar Sadiq
Jamilu Abubakar Sadiq - avatar
2 Respuestas
+ 2
https://www.sololearn.com/discuss/2993183/?ref=app
2nd Mar 2022, 1:47 PM
Simba
Simba - avatar