[SOLVED] JS project Words
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. The project description is really unclear. With "!" it is mentioned that output should begin and end with "$". In the only one example that is not the case. The only one test case is hidden. Here is my code. I don't need a solution, if anyone understands what is the goal of the task and could explain it I will be grateful. https://code.sololearn.com/W0Kn137pFJuX/?ref=app