- 1

Help me solve this JavaScript question

You are making a text encryptor. It should take multiple words and output a combined version, where each word is separated by a dollar sign $. For example, for the words "hello", "how", "are", "you", the output should be "$hello$how$are$you". The given code declares a class named Add, with a constructor that takes one rest parameter. Complete the code by adding a print() method to the class, which should generate the requested output.

8th Dec 2020, 1:47 AM
Nathaniel Kwofie
Nathaniel Kwofie - avatar
2 Réponses
+ 2
First show your attempt here
8th Dec 2020, 1:52 AM
Sâñtôsh
Sâñtôsh - avatar
0
Tnx
8th Dec 2020, 1:55 AM
Nathaniel Kwofie
Nathaniel Kwofie - avatar